View Single Post
  #11  
Old 15-12-2018, 01:20
zirkhaki's Avatar
zirkhaki zirkhaki is offline
Registered User
 
Join Date: Jul 2009
Location: Iran
Posts: 309
Thanks: 1,455
Thanked 178 Times in 111 Posts
zirkhaki is on a distinguished road
I tried both memthods (copy & xcopy)
none of them worked for me. I tried xcopy with different switches but it didn't worked too.

I have this:
Code:
[CMDCommands_]

IF EXIST "{src}\NEW_FILES" RD "{src}\NEW_FILES" /S /Q
MD "{src}\NEW_FILES"
COPY /Y "{src}\ORIG_FILES\*.dll" "{src}\NEW_FILES\*.dll"
COPY /Y "{src}\ORIG_FILES\*.bmp" "{src}\NEW_FILES\*.bmp"


xcopy /e /i /y /q "{src}\game" "{app}" >nul 2>&1
//xcopy /h /c /k /e /r /y "{src}\game" "{app}" 
//xcopy "{src}\game" "{app}" /h /c /k /e /r /y
//COPY /Y "{src}\game\cinematics\videos\golden_path\05_blade\B_20_10.vib" "{app}\game\cinematics\videos\golden_path\05_blade\"
I don't know what this part is for:
Code:
IF EXIST "{src}\NEW_FILES" RD "{src}\NEW_FILES" /S /Q
MD "{src}\NEW_FILES"
COPY /Y "{src}\ORIG_FILES\*.dll" "{src}\NEW_FILES\*.dll"
COPY /Y "{src}\ORIG_FILES\*.bmp" "{src}\NEW_FILES\*.bmp"
but I disable that part too. still nothing

tried your setup, but it copies "cinematics" folder in its sub-directories and files but it should copy "game" and its sub-directories and files.

I read some topics about xcopy but nothing worked for me.
is "[CMDCommands_]" active by defaul or it should be activated somewhere?
Reply With Quote