Jump to content

Recommended Posts

Guest Mayur Rastogi
Posted

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...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...