i have batch script like bellow:
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%
when i execute it, giving me error like bellow:
------------------------------------------------------------------------------- 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.
I have check path
F:\Diff\For_VOYAGE\models.pck.files\models\players\装备\女\印度舞娘时装上衣\
I can access it from windows explorer.
but seems the command prompt can’t read it.
does anyone have this problem before?
Thank you.
Answer
thanks for respond. the problem is already solve. it because i forgot to change batch script encoding type to GBK
Attribution
Source : Link , Question Author : hrace009 , Answer Author : hrace009