How To‎ > ‎

Hide the Batch File Command Window

The gadget spec URL could not be found
The gadget spec URL could not be found
When running a batch file, you briefly see a Command window. You can hide this window or run it minimized.

Hide the Command Window

start /B myapp.bat

Windows 7 removed the "start" command!
  • Create a batch file like silent-launch.bat
  • wscript.exe "C:\your-path\invisible.vbs" "your-file.bat"
  • invisible.vbs should have

    • CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

  • your-file.bat will now run silently without a command window!

Minimize the Command Window

start /MIN myapp.bat

Comments