XP Pro: Scheduling A .Bat File?

  • Thread starter Thread starter (PeteCresswell)
  • Start date Start date
P

(PeteCresswell)

Is there anything built into XP Pro that will let me run a .Bat
file every night at, say, 0200?
 
(PeteCresswell) said:
Is there anything built into XP Pro that will let me run a .Bat
file every night at, say, 0200?

Yep - Control Panel, Scheduled Tasks.
Note that the account you're going to run it under must have a password, as
well as permissions to do whatever the scheduled task/batch file actually
does.
 
Have you tried saving the batch file with the CMD file extension, then tried
scheduling it?
 
Scheduled Tasks is built into XP Home and Pro.
When you're in there, just double click on 'Add Scheduled Task' and follow
the steps to create one.

John.
 
You betcha.

Start a command prompt.

Type:

at /?

for usage of the "at" command.
 
(PeteCresswell) said:
Per V Green:

Humor noted.

But I'm goin' to bed.

Ummm...OK.

But the AT command really exists, unless
I'm misinterpreting your response ...?

I've used it for years to schedule backups - I find
the command line interface much more powerful
that using the GUI.
 
Per V Green:
Ummm...OK.

But the AT command really exists, unless
I'm misinterpreting your response ...?

I've used it for years to schedule backups - I find
the command line interface much more powerful
that using the GUI.

Mea culpa: I misread your post.

I thought the post was saying to open up a command prompt and
just type in the path of the .Bat file - which was a literally
proper response to my question, which did not explicitly state
that I wanted it to happen with me not there...
 
John said:
Have you tried saving the batch file with the CMD file extension, then
tried
scheduling it?

Under WinXP, .cmd files are treated in the same way as .bat
files, both under the Command Processor or by the Task
Scheduler. Giving a .bat file a .cmd extension makes no
difference whatsoever. Give it a try!
 

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

Back
Top