Advertisement
Baoulettes

little bug in copy ...

Jan 24th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;variable ps3versionwork is taken with this :
  2. ;FileSelectFolder, ps3versionwork,, 3, Select a folder to create or update : GuitarInlayPack_ps3.psarc.edat
  3.  
  4. RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\GuitarInlayPack_ps3" --output="%A_ScriptDir%\tmp\GuitarInlayPack_p3.psarc",,Hide
  5.  ;Pack my file to another format (succes)
  6.  
  7. FileCopy, "%A_ScriptDir%\tmp\GuitarInlayPack_p3.psarc", "%A_ScriptDir%\ressources\packer\EDAT\GuitarInlayPack_p3.psarc"
  8.   ;copy to another folder
  9.  
  10. SetWorkingDir %A_ScriptDir%\ressources\packer\
  11.  
  12. RunWait,  "%A_ScriptDir%\ressources\packer\ps3_encrypt.cmd"
  13.  ;Pack my file to another format (succes)
  14.  
  15. SetWorkingDir %A_ScriptDir%
  16.  
  17. FileDelete, %ps3versionwork%\GuitarInlayPack_ps3.psarc.edat
  18.  ;delete older trace of the file.
  19.  
  20. FileCopy, "%A_ScriptDir%\ressources\packer\EDAT\GuitarInlayPack_ps3.psarc", "%ps3versionwork%\GuitarInlayPack_ps3.psarc.edat"
  21.  ;stuck between there and (source files exist)
  22.  
  23. loop
  24. {
  25.     ifexist, "%ps3versionwork%\GuitarInlayPack_ps3.psarc.edat"
  26.      ;and there...
  27.  
  28.     break
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement