是否可以将 robocopy 与卷 ID 路径一起使用?
C:\>robocopy /MIR /COPYALL /R:0 \\?\Volume{8a20c0df-ba3-44e9-8529-e6cd231a6759}\ \\?\Volume{3f1c91a3-39c0-11e6-a9fc-000c29ac2558}\
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Fri Jun 24 13:32:25 2016
Source : \\?\Volume{8a20c0df-0ba3-44e9-8529-e6cd231a6759}\
Dest : \\?\Volume{3f1c91a3-39c0-11e6-a9fc-000c29ac2558}\
Files : *.*
Options : *.* /S /E /COPYALL /PURGE /MIR /R:0 /W:30
------------------------------------------------------------------------------
2016/06/24 13:32:27 ERROR 53 (0x00000035) Accessing Source Directory \\?\Volume{8a20c0df-0ba3-44e9-8529-e6cd231a6759}\
The network path was not found.
2016/06/24 13:32:27 ERROR 53 (0x00000035) Accessing Source Directory \\?\Volume{8a20c0df-0ba3-44e9-8529-e6cd231a6759}\
The network path was not found.
答案1
很可能不是——通常不支持直接使用卷 ID。
你可以从
MountVol.exe
命令映射到驱动器,然后从那里继续。