Hello everyone;
I want to execute 2 commands that start some exe. When click batch file, cmd window is opened. Even if I closed these exe, cmd window is still open. How can I close cmd window when commands finish?
Any ideas?
My command :
start "" & notepad.exe
start "" & notepad.exe
How to close cmd window?
Moderator: DosItHelp
Re: How to close cmd window?
The ampersand is a special character that concatenates two commands onto one line. Not sure why you think you need it in your code.
Code: Select all
start "" notepad.exe
start "" mspaint.exe