Computing.Net > Forums > Windows XP > Make .BAT file run every few mins

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Make .BAT file run every few mins

Reply to Message Icon

Name: Davros
Date: December 27, 2003 at 01:47:16 Pacific
OS: Win XP pro
CPU/Ram: xp2000+/512Mb
Comment:

Hi,
I was wondering if it is possible to create a batch file or equivalent to run (or commands within the file) every 2 minutes, for example.

The idea of it is that it will just copy files to another directory at regular intervals automatically to act as a backup.

Is this possible?

Many thanks,
Davros.



Sponsored Link
Ads by Google

Response Number 1
Name: Pandemonium1x
Date: December 27, 2003 at 01:54:09 Pacific
Reply:

Yes it's possible but I don't know exactly how to do that. If you explained what you are wanting to do I may be able to write a program for you which will be a .exe not a .bat but will give the same effect. I know that sounds like a "Hey let me give you a virus" offer but you can scan it of course =P


0

Response Number 2
Name: Davros
Date: December 27, 2003 at 02:11:58 Pacific
Reply:

Thanks for the offer Pandemonium1x, but I have just found a couple of answers myself.

This is another post that can be used achieve the same outcome. It just uses a delay in a loop- obvious!

http://www.computing.net/dos/wwwboard/forum/13999.html

Also, if choice is copied to XP from an older version of windows (not available in XP) this will apparently work:

TYPE NUL | CHOICE.COM /N /CY /TY,5 >NUL

where the number after the '/TY,' being the number of seconds it will wait, but it only works up to 99.


Davros.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Make .BAT file run every few mins

.bat file for installing updates www.computing.net/answers/windows-xp/bat-file-for-installing-updates/138270.html

DESPERATE: PC freezes every few min www.computing.net/answers/windows-xp/desperate-pc-freezes-every-few-min/125710.html

Batch file www.computing.net/answers/windows-xp/batch-file-/69795.html