Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


schedule a bat-file in Win2k

Posted on 2003-10-24
Medium Priority
Last Modified: 2010-04-13
I need to autorun a bat-file each 5 minutes in Windows2000.

Anybody who can help me with this..?
Question by:oppdal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

mrei earned 200 total points
ID: 9613096
1. Go to Start / Programs / Accessories / System Tools / Scheduled Tasks
2. Add New Task / Continue / Search
3. Choose your batch file for daily work and enter first time setting
4. Enter Username and password as required (this is mandatory in w2k; tasks doesn't work without!)
5. Mark "Advanced" an go on
6. Now choose the time table and further adjust your settings. You can enter repeating intervalls (every 5 Minutes) after going to Advanced settings.

Hint: You can enter some checking lines in your batchfile to verify if it's running well.
Look here:


date /T >>c:\batch.log
time /T >>c:\batch.log
echo ================ >>c:\batch.log


Copy the lines between the dashes into your Batchfile too and you can check c:\batch.log whether your job is running or not.

Expert Comment

ID: 9615344
you can use the command "AT" in a bat file to schedule runtimes of programs.  for syntax, open command promt and type  

at ?


Expert Comment

ID: 9615530
the 'at' sceduler was replaced with task scheduler

Expert Comment

ID: 9615736
you can still use "at" from the command prompt if you need to

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question