我有如下批处理脚本:
SET SOURCE=F:\Diff\For_VOYAGE\models.pck.files\models\players
SET DESTINATION=F:\Diff\For_VOYAGE\models.pck.files\NEW\models\players
SET LOG=LOG.txt
robocopy %SOURCE%\装备\女\印度舞娘时装上衣 %DESTINATION%\装备\女\印度舞娘时装上衣 /E /LOG+:%LOG%
当我执行它时,出现如下错误:
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-------------------------------------------------------------------------------
Started : Sat May 14 20:27:50 2016
Source : F:\Diff\For_VOYAGE\models.pck.files\models\players\装备\女\印度舞娘时装上衣\
Dest : F:\Diff\For_VOYAGE\models.pck.files\NEW\models\players\装备\女\印度舞娘时装上衣\
Files : *.*
Options : *.* /S /E /COPY:DAT /R:1000000 /W:30
------------------------------------------------------------------------------
2016/05/14 20:27:50 ERROR 3 (0x00000003) Accessing Source Directory F:\Diff\For_VOYAGE\models.pck.files\models\players\装备\女\印度舞娘时装上衣\
The system cannot find the path specified.
我有检查路径
F:\Diff\For_VOYAGE\models.pck.files\models\players\装备\女\印度舞娘时装上衣\
我可以从 Windows 资源管理器访问它。但似乎命令提示符无法读取它。有人遇到过这个问题吗?谢谢。
答案1
谢谢回复。问题已经解决了。这是因为我忘了将批处理脚本的编码类型更改为 GBK