Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to create a .bat file with Robocopy and schedule it using Task Scheduler in Windows 7. The issue that I am having is with the creation of the log file. When I click on the .bat file, a log file is created. When it runs using Task Scheduler no log file is created.

File copying works in both cases. Am I missing something?

share|improve this question
1  
Could you please post your robocopy command line(s) and maybe a screenshot how you entered the parameters in your scheduled task? – nixda Jan 18 at 0:31
robocopy "\\XXXXXXXX\PROGRAMS\PRODUCT" "C:\XXXX\XXXXX\Desktop\XXXX\XXXX" /copyALL /tee /s /r:1 /log:"C:\Users\XXXX\Desktop\XXXX\Backup Log.TXT" – Chdu Jan 18 at 0:49

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.