Run an exe and close the command prompt
"subfolder\program to run.exe"
works but keeps the command prompt open.
I would like the command prompt to close but keep the application open, how do I do this.
Solution 1:
The other answer works fine for me in XP, but you can also try the following instead:
start "" "subfolder\program to run.exe" & exit
Solution 2:
You can append & exit
to the command you run. So for instance, from the command prompt:
calc & exit
runs Calculator and closes the commmand prompt window.