K
kvp at ppg
I am running several batch scripts on a shared remote
server via the NT Scheduler. The scripts run for several
hours each night. Since the scripts are running via
scheduler, a cmd window does not appear on the server
desktop. To prevent someone from cycling the server and
cancelling my script in mid-stream, I can display a
message in Notepad that shows on the server desktop
indicating that a job is running in the background using
the following command:
START notepad.exe processrunning.txt
Once the job has finished, how do I close the Notepad
showing on the desktop via the batch script?
Thanks
Kurt
server via the NT Scheduler. The scripts run for several
hours each night. Since the scripts are running via
scheduler, a cmd window does not appear on the server
desktop. To prevent someone from cycling the server and
cancelling my script in mid-stream, I can display a
message in Notepad that shows on the server desktop
indicating that a job is running in the background using
the following command:
START notepad.exe processrunning.txt
Once the job has finished, how do I close the Notepad
showing on the desktop via the batch script?
Thanks
Kurt