Sign in with
Sign up | Sign in
Your question

Stop command line window from closing

Last response: in Windows XP
Share
January 27, 2005 8:00:41 PM

Archived from groups: microsoft.public.windowsxp.basics (More info?)

After running a command line prompt, the "DOS" window automatically
closes. How do I keep it open? Win XP Pro.
Thanks
Anonymous
January 27, 2005 8:00:42 PM

Archived from groups: microsoft.public.windowsxp.basics (More info?)

junior wrote:
> After running a command line prompt, the "DOS" window automatically
> closes. How do I keep it open? Win XP Pro.

How are you starting this "cmd prompt"? Batch? Start -> Run? Other?

For example.. From Start -> Run you could type 'cmd /k command'
( cmd /k ipconfig /all )

--
<- Shenan ->
--
The information is provided "as is", it is suggested you research for
yourself before you take any advice - you are the one ultimately
responsible for your actions/problems/solutions. Know what you are
getting into before you jump in with both feet.
January 27, 2005 8:46:00 PM

Archived from groups: microsoft.public.windowsxp.basics (More info?)

That did the trick.
I was just using Start > Run 'ipconfig /all'

Thanks much!


On Thu, 27 Jan 2005 01:22:34 -0600, "Shenan Stanley"
<news_helper@hushmail.com> wrote:

>junior wrote:
>> After running a command line prompt, the "DOS" window automatically
>> closes. How do I keep it open? Win XP Pro.
>
>How are you starting this "cmd prompt"? Batch? Start -> Run? Other?
>
>For example.. From Start -> Run you could type 'cmd /k command'
>( cmd /k ipconfig /all )
>
>--
><- Shenan ->
Related resources
Anonymous
January 27, 2005 8:46:01 PM

Archived from groups: microsoft.public.windowsxp.basics (More info?)

Go to Start | Run and type
cmd
and click OK. In the Command Window type
ipconfig /all

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup only. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com./athome/security/protect/defau...


<junior@senior.invalid.net> wrote in message
news:aq6hv056moaqm7g0mo4inunbevqo4arak6@4ax.com
> That did the trick.
> I was just using Start > Run 'ipconfig /all'
>
> Thanks much!
>
>
> On Thu, 27 Jan 2005 01:22:34 -0600, "Shenan Stanley"
> <news_helper@hushmail.com> wrote:
>
>> junior wrote:
>>> After running a command line prompt, the "DOS" window automatically
>>> closes. How do I keep it open? Win XP Pro.
>>
>> How are you starting this "cmd prompt"? Batch? Start -> Run?
>> Other?
>>
>> For example.. From Start -> Run you could type 'cmd /k command'
>> ( cmd /k ipconfig /all )
>>
>> --
>> <- Shenan ->
Anonymous
January 27, 2005 8:46:01 PM

Archived from groups: microsoft.public.windowsxp.basics (More info?)

Type in the start box: cmd and press enter. Now in the blackscreen you
get (known as a dos-box) type the command: ipconfig /all and the screen
stays open.

Cheers,

Robert
<junior@senior.invalid.net> wrote in message
news:aq6hv056moaqm7g0mo4inunbevqo4arak6@4ax.com...
> That did the trick.
> I was just using Start > Run 'ipconfig /all'
>
> Thanks much!
>
>
> On Thu, 27 Jan 2005 01:22:34 -0600, "Shenan Stanley"
> <news_helper@hushmail.com> wrote:
>
>>junior wrote:
>>> After running a command line prompt, the "DOS" window automatically
>>> closes. How do I keep it open? Win XP Pro.
>>
>>How are you starting this "cmd prompt"? Batch? Start -> Run? Other?
>>
>>For example.. From Start -> Run you could type 'cmd /k command'
>>( cmd /k ipconfig /all )
>>
>>--
>><- Shenan ->
>
Anonymous
January 27, 2005 8:46:02 PM

Archived from groups: microsoft.public.windowsxp.basics (More info?)

maybe I should update more often instead of posting answers already there
(and twice even...) Sorry for doubleposting people...

Cheers,

Robert

"PaddyBob" <PaddyBob@discussions.microsoft.com> wrote in message
news:o RygutGBFHA.1188@tk2msftngp13.phx.gbl...
> Type in the start box: cmd and press enter. Now in the blackscreen you
> get (known as a dos-box) type the command: ipconfig /all and the screen
> stays open.
>
> Cheers,
>
> Robert
> <junior@senior.invalid.net> wrote in message
> news:aq6hv056moaqm7g0mo4inunbevqo4arak6@4ax.com...
>> That did the trick.
>> I was just using Start > Run 'ipconfig /all'
>>
>> Thanks much!
>>
>>
>> On Thu, 27 Jan 2005 01:22:34 -0600, "Shenan Stanley"
>> <news_helper@hushmail.com> wrote:
>>
>>>junior wrote:
>>>> After running a command line prompt, the "DOS" window automatically
>>>> closes. How do I keep it open? Win XP Pro.
>>>
>>>How are you starting this "cmd prompt"? Batch? Start -> Run? Other?
>>>
>>>For example.. From Start -> Run you could type 'cmd /k command'
>>>( cmd /k ipconfig /all )
>>>
>>>--
>>><- Shenan ->
>>
>
>
January 28, 2005 1:18:41 AM

Archived from groups: microsoft.public.windowsxp.basics (More info?)

Thanks, Frank
That's handy too.

On Thu, 27 Jan 2005 05:56:47 -0600, "Frank Saunders, MS-MVP"
<franksaunders@mvps.org> wrote:

>Go to Start | Run and type
>cmd
>and click OK. In the Command Window type
>ipconfig /all
!