win2k Scheduler

  • Thread starter Thread starter Dino
  • Start date Start date
D

Dino

Dear All,

I have configured the scheduler to call a batch file which
consist of a simple application, ex. notepad.exe. I set
the task to stop after 1 minute. The batch file was
terminated after 1 minute as scheduled but the application
that was propagated within the batch file are not killed.
Can somebody help me on this.

Thanks

Dino
 
Dear All,

I have configured the scheduler to call a batch file which
consist of a simple application, ex. notepad.exe. I set
the task to stop after 1 minute. The batch file was
terminated after 1 minute as scheduled but the application
that was propagated within the batch file are not killed.
Can somebody help me on this.

Thanks

Dino

If all you want to do is schedule notepad, then schedule notepad.

If you need a batch, killing the batch will not kill any launched applications.

You can use the freeware CLOSE from tip 431 in the 'Tips & Tricks' at
http://www.jsiinc.com


@echo off
start "My Notepad Title" %systemroot%\notepad.exe
@ping -n 61 127.0.0.1>nul
close "My Notepad Title*"

See tip 4630.
See tip 364




Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top