Reputation: 1714
I am using this:
start /b cmd /c "C:\Windows\notepad.exe"
start /b cmd /c "C:\Program Files\Google\Chrome\Application\chrome.exe"
start /b cmd /c "C:\Program Files\Skype\Phone\Skype.exe"
exit
The above works but keeps the prompt/terminal window open. How can I close it from inside the bat/cmd file as soon as the last app is open?
Upvotes: 0
Views: 2261
Reputation: 46
Try the following instead:
C:
cd \Windows
start notepad.exe
cd "\Program Files\Google\Chrome\Application"
start chrome.exe
cd "\Program Files\Skype\Phone"
start Skype.exe
exit
it is probably the fact that your starting cmd - just start the application
Upvotes: 3