Re: DOS Commands
From: Rick (me_at_privacy.net)
Date: 02/23/05
- Next message: Philip Herlihy: "Re: Options for upgrading 100 desktops to IE6?"
- Previous message: Cody: "Disk Quotas"
- In reply to: Steve Parry [MVP]: "Re: DOS Commands"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Feb 2005 11:54:05 -0800
"Steve Parry [MVP]" <k100rs_1990@nospam.hotmail.com> wrote in message news:Ou1qq$dGFHA.3612@TK2MSFTNGP09.phx.gbl...
> McGraw fumbled, fiddled and fingered:
>
> > Does anyone know a DOS command to close a program? We need to
> > automate a process and are trying to get a batch file that will open
> > an exe and then close it once the process is complete. We have
> > everything except the closing the program. We need it closed for
> > security reasons.
> >
> > Thanks
>
> http://www.sysinternals.com/ntw2k/freeware/pskill.shtml
That will work only if the program exits and returns control to
the batch file. And if the program does exit it's not necessary,
as one can close the batch file window with a simple EXIT
command.
One option is to create a separate batch file that runs after the
first is completed, and kills the process.
- Next message: Philip Herlihy: "Re: Options for upgrading 100 desktops to IE6?"
- Previous message: Cody: "Disk Quotas"
- In reply to: Steve Parry [MVP]: "Re: DOS Commands"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|