1.

Solve : How to keep a batch file running continoisly on ??

Answer»

echo on
at 1:19PM copy c:\test\*.* s:\destination

I need to copy this file every morning on its rown. HOWEVER, when I run this bat file, the file is not copied at all. How can I have the bat file continously, all the time ?I like the EASY options>http://www.robvanderwoude.com/index.htmlI've always had a great deal of problems with the AT command. Why not simply use the task manager and schedule it that way.

Or maybe quoting the command just might work.

Ex: at 1:19PM "copy c:\test\*.* s:\destination"

HOPE this helps. have 2 bat files:

let's say the one you want to have running continuosly is called dude.bat and it is located in C:windows\myjunk.The other on is called gab.bat and is located in C:\windows\yourjunk.

At the END of dude.bat you would type the following CODE:
Code: [Select]CALL C:\windows\yourjunk\gab.bat

And In gab.bat type:
Code: [Select]CALL C:\windows\myjunk\dude.bat

So when dude.bat is done it will open gab.bat, then gab.bat will open dude.bat again.(and so on and so forth) ;D

hope it helps!!



Discussion

No Comment Found