How do you stop the "Command Prompt Box" from auto closing after program execution?

N

Nightbreaker

How do you stop the "Command Prompt Box" from auto closing after
program execution?

In Windows 9x there is a check box to prevent this from happening but
I don't see anything like this in Windows XP. Is there another way
that I've overlooked?

Nightbreaker
 
K

Ken Blake, MVP

Nightbreaker said:
How do you stop the "Command Prompt Box" from auto closing after
program execution?

In Windows 9x there is a check box to prevent this from happening but
I don't see anything like this in Windows XP. Is there another way
that I've overlooked?


Instead of invoking a command from the Start | Run line, first open a
command prompt window by typing CMD at the Start | Run line. Then enter
your command in that window.
 
S

Stan Brown

Tue, 17 Jan 2006 21:56:28 -0500 from Nightbreaker
How do you stop the "Command Prompt Box" from auto closing after
program execution?

In Windows 9x there is a check box to prevent this from happening but
I don't see anything like this in Windows XP. Is there another way
that I've overlooked?

Instead of
blab blah blah
type
cmd /k blab blah blah

The /k option tells the shell to stay open after executing the
command.
 
T

Tony Luxton

Right-click the executable or the PIF. file, select properties, hit the
program tab, and there's your checkbox towards the bottom.

HTH Tony.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top