Scheduling Execution of Scripts

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.
 
P

Patrick Keenan

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
 
G

Guest

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
 
P

Patrick Keenan

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
 

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