2
I wanted to run a .bat file in Windows task scheduler, so I opened it, added a new task, browsed to the bat file, and... nothing happened.
So I changed the timing to see if it'll run, and it didn't. Next I right-clicked on the task and chose "run", it didn't run. The file itself is only one line, basicly backups a folder to a another location. It runs fine when not in the scheduler.
When I asked on stackoverflow.com they first said to come here and the other guy said to write:
cmd.exe /C completepathtobatchfile argstobatchfileifany
So I wrote:
cmd.exe /C k:\backup.bat
and it didn't work. What do I have to change to make it work?
works great! thanks mate what does the ":T" do? – bks – 2009-10-06T18:07:22.830
T is for Tuesday – MDMarra – 2009-10-06T18:12:02.540
Yes, and Th is for Thursday. – Ben S – 2009-10-06T18:42:28.313
1what about doing that every day? or two days for that matter? – bks – 2009-10-06T20:46:21.870