Skip to content
⌘ NSIS Forum Archive

Copy sub-directories

3 posts

razdaz#

Copy sub-directories

Hello,

I'd like to include an entire directory's contents (including hundreds of sub directories) in an installation executable. Is there a way to do this without specifing each individual directory? I tried the File "..\*.* " command but it did not include the sub-directories.

I searched the archive and found some great stuff there but no answer to this - any help is really appreciated - really!!

Thanks...Scott
kichik#
You forgot the /r flag 😉

Use /r for recursive operation that will descend into the sub-directories too. For example:
File /r "myProc\*.*"