请教一个问题,在WIN10系统中,我想用robocopy命令备份两个文件夹,第一个Desktop可正常备份,第二、三个带引号的"Saved Games"、"Burn\Burn"文件夹不能备份,命令入下:
for %%a in (Desktop "Saved Games" "Burn\Burn") do if not exist D:\Users\%username%\%%a robocopy "%USERPROFILE%\%%a" "D:\Users\%username%\%%a" /e
robocopy命令执行后报错内容入下:
源: C:\Users\Administrator"Saved Games"\
目标: D:\Users\Administrator"Saved Games"\
办法管用,谢谢!
for %%a in (Desktop "Saved Games" "Burn\Burn") do if not exist "D:\Users\%username%\%%~a" robocopy "%USERPROFILE%\%%~a" "D:\Users\%username%\%%~a" /e作者: /zhqsystem/zhq 时间: 2019-5-5 21:33