• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Batch files: How can I avoid the command line window from appearing when running my bat???

GreenLantern

Senior member
Windows xp
I'm trying to launch some apps at once thru a bat file.
when the last app launches, the command line window will stick around until I close that last app.
but at that launch it's work is done. I want it gone! makes it look like I'm running more apps than I am.

Can anyone point me to a good resource for this type of thing?
 
Try invoking that last app as:
start path/app.exe

(i.e. insert the word "start" before the path & filename of the app)
It doesn't hurt to make the last line of the batch file "exit" either (as lobadobadingdong suggested)
 
Thanks for the replies. but they didn't work.

yes, I can run minimized but that isn't the point and the batch file is exited once the launched program ends anyway.

Diggler, your suggestion looked promising but it had a strange result: the program didn't start, the command window had focus and was sitting at the ready prompt in the directory of the app I was trying to start. That doesn't seem to jive with what you were expecting.
 
Hmm... Care to post your batch file in here? Also, try putting "" quotes around the text after the start command.
i.e. start "appPath\appExecutable"
 
Back
Top