Skip to content
⌘ NSIS Forum Archive

Directory copy?

4 posts

Ttech#

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...
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..."?
Ttech#
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