Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to automate some jobs and am using the 'at' command on Windows XP. However, Vista doesn't have this.

What do I use instead? It needs to be usable from a batch script as well.

share|improve this question
up vote 6 down vote accepted

schtasks is 'at' on steroids for Windows.

From the Windows Vista Task Scheduler page:

Scripting and Command Line Options. Improving the user experience is one of the main goals of the Windows Vista Task Scheduler. For IT professionals that prefer to use a command line tool instead of GUI, the schtasks.exe command line utility has been extended to cover all the new functionality added for Windows Vista. The application programming interface (API) is now also scriptable.

A hack exists for running it on Windows 2000.

share|improve this answer
Does it work on Vista/7? Or even 2k for that matter? – samoz Jul 20 '09 at 18:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.