Windows – keep command window open after running bat file

batchbatch-filewindows

i have a bat file that has the following it:

sm start "Schedule"

this code runs but the command window closes immediately

what can i put inside the bat file to keep the window open?

Best Answer

Just put the command pause in the batch file at the end.