这是我的批处理内容
Robocopy.exe D:\IDRIVE\New backups\Program\full\1 D:\IDRIVE\New backups\Program\full\2
pause
但是在 cmd 中它显示为:
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Mon Apr 21 15:24:47 2014
Source - D:\IDRIVE\New\
Dest - D:\IDRIVE\New backups\Program\full\backups\Program\full\2\
Files :
Options : /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
ERROR : Invalid Parameter #3 : "D:\IDRIVE\New"
Simple Usage :: ROBOCOPY source destination /MIR
source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
/MIR :: Mirror a complete directory tree.
For more usage information run ROBOCOPY /?
**** /MIR can DELETE files as well as copy them !
D:\IDRIVE\New backups\Program\full>pause
Press any key to continue . . .
请帮我解决这个问题
.
),这也导致错误,直到我将路径用引号括起来。 - gargoylebident