CMD Window - How to keep it open

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

OK, lets say I have a MENU.CMD file and create a shortcut to it.

How do I get the CMD Window to remain open after MENU.CMD runs?
This command prints text of choices and drops out. I what it to return to
the command window, command-prompt.

That is, I want it to operate like a MS DOS command.com call.

I've tried the /c & /k switches and the window still closes.

Shortcut:
D:\RunMenus\menu.cmd /k
runs and window closes.
 
Tecknomage said:
OK, lets say I have a MENU.CMD file and create a shortcut to it.

How do I get the CMD Window to remain open after MENU.CMD runs?
This command prints text of choices and drops out. I what it to return to
the command window, command-prompt.

That is, I want it to operate like a MS DOS command.com call.

I've tried the /c & /k switches and the window still closes.

Shortcut:
D:\RunMenus\menu.cmd /k
runs and window closes.

Open the command prompt first:

cmd /k
D:\RunMenus\menu.cmd

John
 
Tecknomage said:
OK, lets say I have a MENU.CMD file and create a shortcut to it.

How do I get the CMD Window to remain open after MENU.CMD runs?
This command prints text of choices and drops out. I what it to return to
the command window, command-prompt.

Look at your shortcuts properties. There should be a checkmark relating to
closing the window when complete.
 
Back
Top