Archive: Directory copy?


Directory copy?
Hi,
I was wondering how do I copy a directory set a ini file to a destination the user picks? Possibly how do I add file type exclusions?
Thanks...


Use CopyFiles to copy the file types that you want to copy eg CopyFiles $EXEDIR\*.txt $INSTDIR\

Can you explain what you mean by "set a ini file..."?


Originally posted by michaelcsikos
Use CopyFiles to copy the file types that you want to copy eg CopyFiles $EXEDIR\*.txt $INSTDIR\

Can you explain what you mean by "set a ini file..."?
Ah, get the path / exclustion from an ini file like
[copy]
path=C:\
filetypes=jpg,jpeg

Use ReadINIStr to get strings from an INI file.