Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Stop command line window from closing

Stop command line window from closing

Forum Windows XP : Windows XP General Discussion - Stop command line window from closing

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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

Sponsored Links
Register or log in to remove.

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.

Reply to Anonymous
- 0 +

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

Reply to Junior

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/s [...] fault.aspx


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

Reply to Anonymous
- 0 +

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

Reply to Junior

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

Reply to Anonymous

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

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Stop command line window from closing
Go to:

There are 1185 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them
  • 01:00 EChiasson won the Freshman badge
  • 01:00 Foxer57 won the Uniformed badge
  • 01:00 gregmo won the Freshman badge
  • 01:00 vishnuvamp won the Freshman badge
  • 01:00 whiz won the Freshman badge
  • 01:00 jconline won the Uniformed badge
  • 01:00 qiaoda won the Uniformed badge
  • 01:00 sykohedd won the Uniformed badge
  • 01:00 jundja won the Uniformed badge
  • 01:00 cnsftci won the Uniformed badge