All BAT files I've seen pop up a command window during execution so how did you solve that?

If I were to tackle this I'd consider powershell or other windows scripting.
Bob