Can you use a command line to keep a dos window open


M

Metspitzer

Can I use the XP version of the run command to say........
ping news.eternal-september.org and then have the window stay open?
 
Ad

Advertisements

A

Andy Burns

Metspitzer said:
Can I use the XP version of the run command to say........
ping news.eternal-september.org and then have the window stay open?
Yes, don't type the ping command into the run dialog

Instead type cmd.exe into the run dialog, then type the ping command
into the "dos" window once it opens ...
 
M

Metspitzer

Yes, don't type the ping command into the run dialog

Instead type cmd.exe into the run dialog, then type the ping command
into the "dos" window once it opens ...
Thanks
 
D

Dave \Crash\ Dummy

Andy said:
Yes, don't type the ping command into the run dialog

Instead type cmd.exe into the run dialog, then type the ping command
into the "dos" window once it opens ...
You can also use the "k" switch to keep the command box open. Enter
"cmd.exe /k ping news.eternal-september.org"
in the Run box.

For a detailed list of command switches and options, enter "cmd /?" in
the Run box.
 
M

Metspitzer

You can also use the "k" switch to keep the command box open. Enter
"cmd.exe /k ping news.eternal-september.org"
in the Run box.

For a detailed list of command switches and options, enter "cmd /?" in
the Run box.
The old Run box would save old command lines. Win7 doesn't seem to. I
may have switched it off.
 
R

R. C. White

Hi, Metspitzer.

In the cmd.exe window, just right-click on the Title Bar and choose
Properties. On the Options tab we can choose, among other things, how large
a Buffer Size we want for Command History.

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP (2002-2010)
Windows Live Mail 2011 (Build 15.4.3538.0513) in Win7 Ultimate x64 SP1


"Metspitzer" wrote in message

You can also use the "k" switch to keep the command box open. Enter
"cmd.exe /k ping news.eternal-september.org"
in the Run box.

For a detailed list of command switches and options, enter "cmd /?" in
the Run box.
The old Run box would save old command lines. Win7 doesn't seem to. I
may have switched it off.
 
Ad

Advertisements

M

Metspitzer

Hi, Metspitzer.

In the cmd.exe window, just right-click on the Title Bar and choose
Properties. On the Options tab we can choose, among other things, how large
a Buffer Size we want for Command History.

RC
Thanks
 
G

Gene E. Bloch

Hi, Metspitzer.

In the cmd.exe window, just right-click on the Title Bar and choose
Properties. On the Options tab we can choose, among other things, how large
a Buffer Size we want for Command History.

RC
In my Windows 7 Command Window, I cannot choose a zero size command
history buffer. Also there is the "Number of Buffers" parameter; I can't
make that zero either.

*But* - I can make them both 1, which is a very short history :)

I did set them back to the defaults, Buffer Size = 50 and Number of
Buffers = 4 :)
 
G

Gene E. Bloch

In my Windows 7 Command Window, I cannot choose a zero size command
history buffer. Also there is the "Number of Buffers" parameter; I can't
make that zero either.

*But* - I can make them both 1, which is a very short history :)

I did set them back to the defaults, Buffer Size = 50 and Number of
Buffers = 4 :)
BTW, I have no idea what the "Number of Buffers" thing is all about...
 
D

Dave \Crash\ Dummy

R. C. White said:
Hi, Metspitzer.

In the cmd.exe window, just right-click on the Title Bar and choose
Properties. On the Options tab we can choose, among other things,
how large a Buffer Size we want for Command History.
That is for command line history, accessed with up and down arrows, not
Run box commands.
 
Z

Zaphod Beeblebrox

Ad

Advertisements

Ad

Advertisements

J

James Silverton

Use Winkey+R, and yes there are prior commands like XP
I have W7 desktop shortcut to the Command Prompt and the window stays
open until I close it.

--


James Silverton, Potomac

I'm *not* (e-mail address removed)
 

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