invalid parameter in robocopy syntax

我只是一个虾纸丫 提交于 2019-12-25 03:19:12

问题


When I try to copy folder from my server to another computer using robocopy and use the parameter /a:-sh in order to enforce the destination folder not to be hidden (because I copy administrative shared folder) my script is: Robocopy.exe "\myserver\e$" "c:\destinationfolder" /e /r:2 /w:3 /np /A:-SH

and in my log I see the error Invalid parameter #7: "/A:-SH"

What is the problem?


回答1:


/A-:SH

Documentation states that the arguments are /A+:[RASHCNET] or /A-:[RASHCNET]



来源:https://stackoverflow.com/questions/29383917/invalid-parameter-in-robocopy-syntax

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!