【发布时间】:2020-03-07 02:38:12
【问题描述】:
在 Windows 8 上,我正在尝试使用 robocopy 复制文件夹
robocopy /MIR /E /DCOPY:T /s "c:\test\xupdate can’t be deployed" "c:\test\out\"
但它失败了:
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : 9. april 2015 10:56:35
Source : C:\test\xupdate canÈÃÍt be deployed
Dest : C:\test\out\
Files : *.*
Options : *.* /S /DCOPY:T /COPY:DAT /PURGE /MIR /R:1000000 /W:30
2015/04/09 10:59:44 ERROR 2 (0x00000002) Accessing Source Directory C:\test\xupdate canÈÃÍt be deployed
The system cannot find the file specified.
所以问题显然是源文件夹名称中的’ 字符。但是为什么 robocopy 不能读取那个字符呢?
【问题讨论】:
标签: robocopy