Tech Support > Operating Systems > Windows 2000 > unattended stop and restart a program
unattended stop and restart a program
Posted by ron on August 27th, 2003


I know how to start a program in scheduled tasks, but can
you stop a program, and then restart it? A reboot of a
program only?

Posted by Pegasus \(MVP\) on August 27th, 2003


You can use kill.exe to stop any program. To restart it,
you just invoke it. This batch file will kill & restart Excel:

@echo off
c:\tools\kill Excel
"c:\program files\microsoft office\office\excel.exe"

kill.exe comes with the Win2000 Resource Kit.


"ron" <walkeron@aol.com> wrote in message
news:086401c36c56$f4309e00$a301280a@phx.gbl...


Posted by Paul Dietrich on August 27th, 2003


On Tue, 26 Aug 2003 21:52:01 -0700, ron <walkeron@aol.com> wrote:

http://sysinternals.com/ntw2k/freeware/pstools.shtml

Look at pskill, and psexec
hth


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


Similar Posts