Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Cmd batchfile - keep window open?

Reply
Thread Tools Display Modes

Cmd batchfile - keep window open?

 
 
Julian
Guest
Posts: n/a

 
      01-18-2008
I now have a little batch file that does "ipconfig /all |more" for me (how
absolutely delightfully retro that it should be necessary...)

How can I keep the cmd window upon when the ipconfig output has finished...
in case I want to /release, /renew or DEL *.* in a fit of pique...?

Ta,

--
Julian I-Do-Stuff

Some Vista stuff, but mostly just Stuff at http://berossus,blogspot.com

 
Reply With Quote
 
 
 
 
the wharf rat
Guest
Posts: n/a

 
      01-18-2008
In article <>,
Julian <> wrote:
>
>How can I keep the cmd window upon when the ipconfig output has finished...
>in case I want to /release, /renew or DEL *.* in a fit of pique...?
>


@echo off
ipconfig/all
set/p dummy=

 
Reply With Quote
 
Lang Murphy
Guest
Posts: n/a

 
      01-18-2008
"Julian" <> wrote in message
news:...
>I now have a little batch file that does "ipconfig /all |more" for me (how
>absolutely delightfully retro that it should be necessary...)
>
> How can I keep the cmd window upon when the ipconfig output has
> finished... in case I want to /release, /renew or DEL *.* in a fit of
> pique...?
>
> Ta,
>
> --
> Julian I-Do-Stuff
>
> Some Vista stuff, but mostly just Stuff at http://berossus,blogspot.com



"cmd /K ipconfig /all | more"

Lang

 
Reply With Quote
 
Julian
Guest
Posts: n/a

 
      01-18-2008
Thanks folks... I preferred cmd /K as I could see what that was doing, but
it doesn't work well in a batch file...

However, create a shortcut to cmd.exe and add "/K inconfig/all |more" to the
path and it works a treat!

Thanks!

--
Julian I-Do-Stuff

Some Vista stuff, but mostly just Stuff at http://berossus,blogspot.com
"Lang Murphy" <> wrote in message
news:1A05FF9A-BCD6-4631-938D-...
> "Julian" <> wrote in message
> news:...
>>I now have a little batch file that does "ipconfig /all |more" for me (how
>>absolutely delightfully retro that it should be necessary...)
>>
>> How can I keep the cmd window upon when the ipconfig output has
>> finished... in case I want to /release, /renew or DEL *.* in a fit of
>> pique...?
>>
>> Ta,
>>
>> --
>> Julian I-Do-Stuff
>>
>> Some Vista stuff, but mostly just Stuff at http://berossus,blogspot.com

>
>
> "cmd /K ipconfig /all | more"
>
> Lang


 
Reply With Quote
 
Lang Murphy
Guest
Posts: n/a

 
      01-19-2008
"Julian" <> wrote in message
news:...
> Thanks folks... I preferred cmd /K as I could see what that was doing, but
> it doesn't work well in a batch file...
>
> However, create a shortcut to cmd.exe and add "/K inconfig/all |more" to
> the path and it works a treat!
>
> Thanks!
>


Glad you got it working to your satisfaction.

Lang

> --
> Julian I-Do-Stuff
>
> Some Vista stuff, but mostly just Stuff at http://berossus,blogspot.com
> "Lang Murphy" <> wrote in message
> news:1A05FF9A-BCD6-4631-938D-...
>> "Julian" <> wrote in message
>> news:...
>>>I now have a little batch file that does "ipconfig /all |more" for me
>>>(how absolutely delightfully retro that it should be necessary...)
>>>
>>> How can I keep the cmd window upon when the ipconfig output has
>>> finished... in case I want to /release, /renew or DEL *.* in a fit of
>>> pique...?
>>>
>>> Ta,
>>>
>>> --
>>> Julian I-Do-Stuff
>>>
>>> Some Vista stuff, but mostly just Stuff at http://berossus,blogspot.com

>>
>>
>> "cmd /K ipconfig /all | more"
>>
>> Lang

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Message Window Doesn't Open On Top jb Windows Vista Mail 0 03-21-2008 04:19 AM
Re-sizing an open window ark6154 Windows Vista Installation 0 03-02-2008 05:10 PM
Drop down window upon right click of desk top "Open" will not open George Rueff Windows Vista General Discussion 2 12-16-2007 02:24 PM
mail won't open in a window Keith Windows Vista Mail 2 08-06-2007 02:58 PM
How to Open in new window? Julian Windows Vista File Management 4 07-19-2007 02:08 PM



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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59