It's working if i run the batch file from command prompt but not working from task scheduler because of lack absolute paths of the scratch file.
I tried to change it to copy
Code: Select all
"d:\scratch.txt" "d:\scratch-%dt%.txt"
but this not working. Could you please modify it to set absolute paths?
Thanks!