Robocopy error through Task scheduler

  • Thread starter Thread starter Mayur Rastogi
  • Start date Start date
M

Mayur Rastogi

Guest
When I run the robocopy command through Powershell, it runs successfully but if submitted through task scheduler, it flashes error 'The directory name is invalid', It also does not create the log. Below is the command 'robocopy \\msXXXXXXXX\Y$\AXXXXXX M:\AXXXXXXX SAV21_0.* /E /Z /ZB /MT:16 /COPY:DATSOU /SECFIX /R:3 /Log:N:\ROBOCOPY\RBOCPY.log. I have masked the server name here for security reasonsRunning this on Win 2016 server

Continue reading...
 
Back
Top