![Robocopy 带有卷 ID 路径吗?](https://linux22.com/image/685414/Robocopy%20%E5%B8%A6%E6%9C%89%E5%8D%B7%20ID%20%E8%B7%AF%E5%BE%84%E5%90%97%EF%BC%9F.png)
是否可以将 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
命令映射到驱动器,然后从那里继续。