Windows 7 Forums


Reply
Thread Tools

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

 
 
Metspitzer
Guest
Posts: n/a
Thanked:
 
      11-10-2011
Can I use the XP version of the run command to say........
ping news.eternal-september.org and then have the window stay open?
 
Reply With Quote
 
 
 
 
Andy Burns
Guest
Posts: n/a
Thanked:
 
      11-10-2011
Metspitzer wrote:

> 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 ...
 
Reply With Quote
 
Metspitzer
Guest
Posts: n/a
Thanked:
 
      11-10-2011
On Thu, 10 Nov 2011 21:03:14 +0000, Andy Burns
<> wrote:

>Metspitzer wrote:
>
>> 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 ...


Thanks
 
Reply With Quote
 
Dave \Crash\ Dummy
Guest
Posts: n/a
Thanked:
 
      11-10-2011
Andy Burns wrote:
> Metspitzer wrote:
>
>> 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 ...


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.
--
Crash

Today is the first day of the rest of your life, and there's not a
damned thing you can do about it.
 
Reply With Quote
 
Metspitzer
Guest
Posts: n/a
Thanked:
 
      11-10-2011
On Thu, 10 Nov 2011 16:44:13 -0500, "Dave \"Crash\" Dummy"
<> wrote:

>Andy Burns wrote:
>> Metspitzer wrote:
>>
>>> 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 ...

>
>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.

 
Reply With Quote
 
R. C. White
Guest
Posts: n/a
Thanked:
 
      11-10-2011
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

Microsoft Windows MVP (2002-2010)
Windows Live Mail 2011 (Build 15.4.3538.0513) in Win7 Ultimate x64 SP1


"Metspitzer" wrote in message
news:...

On Thu, 10 Nov 2011 16:44:13 -0500, "Dave \"Crash\" Dummy"
<> wrote:

>Andy Burns wrote:
>> Metspitzer wrote:
>>
>>> 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 ...

>
>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.

 
Reply With Quote
 
Metspitzer
Guest
Posts: n/a
Thanked:
 
      11-10-2011
On Thu, 10 Nov 2011 17:11:43 -0600, "R. C. White" <>
wrote:

>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
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      11-11-2011
On Thu, 10 Nov 2011 17:11:43 -0600, R. C. White wrote:

> 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 :-)

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      11-11-2011
On Thu, 10 Nov 2011 16:21:36 -0800, Gene E. Bloch wrote:

> On Thu, 10 Nov 2011 17:11:43 -0600, R. C. White wrote:
>
>> 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 :-)


BTW, I have no idea what the "Number of Buffers" thing is all about...

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Dave \Crash\ Dummy
Guest
Posts: n/a
Thanked:
 
      11-11-2011
R. C. White wrote:
> 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.
--
Crash

Atheism is a matter of faith, too.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Access - Cant open file. There is no program registered to open this file robert70 Windows 7 Support 2 10-30-2010 05:00 AM
Free Download manager for IE? catilley1092 Software 20 10-01-2010 06:18 AM
Actual Window Manager v6.2 Nibiru2012 Software 0 08-31-2010 05:02 PM
Change appearance of Command Window davehc User Submitted Articles 5 07-24-2010 01:25 PM
Windows 7 Keyboard Shortcuts - Discussion Ian Article Discussion 6 01-15-2010 08:32 AM


All times are GMT +1. The time now is 12:01 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33