xcopy unc 文件未找到
我正在尝试执行 xcopy 命令,将文件从一个 UNC 路径复制到另一个路径,但我不断收到文件未找到错误。使用 Windows 文件资源管理器我知道路径是正确的并且文件名存在,但错误仍然存在。什么给?
C:\Windows\System32\xcopy.exe "\\MySourceShare\MyFolder1\MyFolder2\MyFolder3\MyFolder4\MyFolder5\filename" "\\MyDestShare\MyFolder1\filename" /Y
谢谢
I am attempting to execute xcopy command that copies a file from one UNC path to another but I keep getting file not found error. Using windows file explorer I know the path is correct and the file name exists but the error persists. What gives?
C:\Windows\System32\xcopy.exe "\\MySourceShare\MyFolder1\MyFolder2\MyFolder3\MyFolder4\MyFolder5\filename" "\\MyDestShare\MyFolder1\filename" /Y
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过大量权限调试后,现在可以正常工作了。根据记录,您可以使用 UNC 复制文件。
This now works after a lot of permission debugging. For the record you CAN copy files using UNC.
当我遇到这个问题时,解决它的唯一方法是在 UNC 路径中使用 IP 地址而不是计算机名称
When I had this problem only way to solve it was to use IP addres instead of machine name in the UNC path