Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stopping a command window

Status
Not open for further replies.

Chrissirhc

Programmer
May 20, 2000
926
0
0
GB
Hi,

I load a program using an icon and it loads up command prompt but I cannot see whats in this prompt (despite many attempts to hold control break when it comes up. Is there anyway of keeping the window open.

Guess popped into my head when writing this:

cmd "name of program file or script" /k

Is this right?
 
If you are using an icon to fire up the program, I assume it is a shortcut. If so, have a look in the properties, it has the full commandline there. Never too old to learn...
Nico
 
put pause in as the last statement,but you will then have to hit akey to finish and shut the cmd window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top