Dos Box Closes Immediately

G

Guest

When I use a DOS command from the "Run" box on Win XP Home SP2, the DOS
program runs, and upon completion the Dos box closes before I can do
anything. Why is this happening? In the old days you could tweak the .pif
file to stop this, but I am at a loss. It HAS to be simple.
 
D

dev

/Falconldo/ said:
When I use a DOS command from the "Run" box on Win XP Home SP2, the DOS
program runs, and upon completion the Dos box closes before I can do
anything. Why is this happening? In the old days you could tweak the .pif
file to stop this, but I am at a loss. It HAS to be simple.

Try cmd /k <argument>
 
B

Bruce Chambers

Falconldo said:
When I use a DOS command from the "Run" box on Win XP Home SP2, the DOS
program runs, and upon completion the Dos box closes before I can do
anything. Why is this happening?


Because that's the way it's designed to work, just like on WinNT and
Win2K. (And there are no "DOS" commands on WinXP; they're CLI {Command
Line Interface} commands.)

In the old days you could tweak the .pif
file to stop this, but I am at a loss. It HAS to be simple.

It is simple. Simply open the Command Prompt window first, and then
enter the desired command.


--

Bruce Chambers

Help us help you:



They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -Benjamin Franklin

Many people would rather die than think; in fact, most do. -Bertrand Russell
 
G

Guest

Nope - thanks for the quick stab though. When you try that, it comes up in a
full screen dos box and says "PsLogList requires Window NT or 2000"

Any new ideas?

Dave
 
L

Loren Pechtel

When I use a DOS command from the "Run" box on Win XP Home SP2, the DOS
program runs, and upon completion the Dos box closes before I can do
anything. Why is this happening? In the old days you could tweak the .pif
file to stop this, but I am at a loss. It HAS to be simple.

Open a command prompt first, then run the program inside it.
 
K

Ken Blake, MVP

Falconldo said:
When I use a DOS command from the "Run" box on Win XP Home SP2, the
DOS program runs, and upon completion the Dos box closes before I can
do anything. Why is this happening?


Because that's the way it's designed. When the command completes, the window
closes.

In the old days you could tweak
the .pif file to stop this, but I am at a loss. It HAS to be simple.


Just open the command Window first (go to Start | Run, and type CMD), then
issue the command in the window. The window will now stay open until *you*
close it.
 

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