Scheduling Execution of Scripts

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to schedule the execution of a batch file (.BAT) periodically
based on a schedule. In order to do this, I believe I need to schedule task
CMD.EXE (command prompt window) through Scheduled Tasks. How do I invoke the
execution of a particular batch file after CMD.EXE is started ? The task
scheduler does not seem to have a way to pass parameters to the program that
is started (in this case the batch file name.
Thanks.
 
Zach said:
I would like to schedule the execution of a batch file (.BAT) periodically
based on a schedule. In order to do this, I believe I need to schedule task
CMD.EXE (command prompt window) through Scheduled Tasks. How do I invoke the
execution of a particular batch file after CMD.EXE is started ? The task
scheduler does not seem to have a way to pass parameters to the program that
is started (in this case the batch file name.
Thanks.

Have you tried simply scheduling the .bat or .cmd file itself?

HTH
-pk
 
Patrick,

Scheduling the ".BAT" file was the first thing I wanted to do but when I try
to schedule the task through XP's Control Panel | Scheduled Tasks facility,
how do I select my batch file ? I just see a list of programs/applications.
Unless there is another way of scheduling batch file execution.
thanks
 
Zach said:
Patrick,

Scheduling the ".BAT" file was the first thing I wanted to do but when I try
to schedule the task through XP's Control Panel | Scheduled Tasks facility,
how do I select my batch file ? I just see a list of programs/applications.
Unless there is another way of scheduling batch file execution.
thanks

Click "browse" and select the batch or cmd file.

HTH
-pk
 
Back
Top