Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How to stop XP dos window closing
Word :    Username :           
 

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

 

How do i stop a dos window closing after the completion of commands. In NT &
98 there used to be a user option in properties (I think I remember) but not
in XP

Ideas ?

Thanks
--
Tobit

Sponsored Links
Register or log in to remove.

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

 

Hi

Are you running the commands from a command prompt - type

cmd

from Start>Run.

--

Will Denny
MS-MVP - Windows Shell/User
Please reply to the News Groups


"TC" <tc@DON'TSPAMMEtcassociates.co.uk> wrote in message
news:cnsgcr$412$1@hercules.btinternet.com...
>
> How do i stop a dos window closing after the completion of commands. In NT
> & 98 there used to be a user option in properties (I think I remember) but
> not in XP
>
> Ideas ?
>
> Thanks
> --
> Tobit

Reply to Anonymous
- 0 +

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

 

Sure - opening a cmd.exe is no problem, but it involves typing. But I what
is a shotcut to a bat file of a cmd file in which a netstat commands is
written. One click on a shortcut and the window opens and runs the netstat
and then remains open displaying the info - can't see a way to do this in
the new inproved windows

--
Tobit

Reply to TC

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

 

use the /k switch after the cmd

ex: cmd /k netstat -a

hth,
aaron

"TC" wrote:

> Sure - opening a cmd.exe is no problem, but it involves typing. But I what
> is a shotcut to a bat file of a cmd file in which a netstat commands is
> written. One click on a shortcut and the window opens and runs the netstat
> and then remains open displaying the info - can't see a way to do this in
> the new inproved windows
>
> --
> Tobit
>
>
>

Reply to Aaron McKenna

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

 

"TC" <tc@DON'TSPAMMEtcassociates.co.uk> wrote in message
news:cnsnti$kdm$1@hercules.btinternet.com...
| Sure - opening a cmd.exe is no problem, but it involves typing. But I what
| is a shotcut to a bat file of a cmd file in which a netstat commands is
| written. One click on a shortcut and the window opens and runs the netstat
| and then remains open displaying the info - can't see a way to do this in
| the new inproved windows
|
| --
| Tobit

/k

i.e... cmd /k netstat -<parms>

Enter CMD /? at a Command Prompt for further parameter options.

--
D

I'm not an MVP a VIP nor do I have ESP.
I was just trying to help.
Please use your own best judgment before implementing any suggestions or
advice herein.
No warranty is expressed or implied.
Your mileage may vary.
See store for details. :)

Remove shoes to E-mail.

Reply to Anonymous
- 0 +

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

 

/k Spot on

Thanks

--
Tobit

Reply to TC
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How to stop XP dos window closing
Go to:

There are 1329 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