Dir Copy
Will this copy the whole \2k\ dir into \bin\ dir
StrCpy $0 "$EXEDIR\App\GnuCash\orbitfix\2k" ;Path of copy file from
StrCpy $1 "$EXEDIR\App\GnuCash\bin" ;Path of copy file to
StrCpy $2 0 ; only 0 or 1, set 0 to overwrite file if it already exists
System::Call 'kernel32::CopyFile(t r0, t r1, b r2) l'
Pop $0 ; pops a bool. if overwrite is off and there is a file then error will be 1
- Read more about Dir Copy
- 3 comments
- Log in or register to post comments
Any idea for a work-around? (Shortcuts don't work unfortunately)