win2k Scheduler

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
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top