|
Answer» hey guys i WOULD like to know how can i update a batch file once a week Automatically.
just need the code... cause i can't find it in the forum.....
i would be Great foul.....
Can you provide more information about what you WANT to do....
do you want to change how your batch works each week? or do you want to run it each week ok it works like this....i work on my batch file every day..and i don't want to update it every day...so this is how it goes...i want per exmpl. every wednesday night round about 6 o'clock......my file to update for it self...like, automatic with out clicking on it....but, i can't do it in schedule task, cause i don't have access to it...so i have to code it...i can copy already from, an map drive to another.....just don't know how to copy it with time and date on it.... if you need the code ill put it here
I am afraid that is not much clearer
why do you need to update a batch file say every wednesday? A batch file runs a SERIES of commands you put inside, either automatically or manually. if you want to update your batch file, you would have to manually add in your commands. I am guessing you are referring to some log file or something...get your details right please...What i meant was that i have a mdb file.......i want to copy from I drive to K drive....
But i want to do it with schedule...every thursday or wednesday it dosen't metter....just once a week.....and i don't want to do it manualy....so i want to create somenthing to do it for it self, like the schedule task right?
schtasks /create /sc minute /mo 2 /tn "File Update" /tr "\\central\data\scripts\mdb"
this is my code
in this case i put it for every 2 minutes...just for testing......
...but for some reason is not working...cause it says:
Status - could no be started.... i can't find a SOLUTION for it...
Can some one help me...
|