Skip to content
⌘ NSIS Forum Archive

copy all files but not the ones in a hidden folder!

3 posts

I_Need_help2#

copy all files but not the ones in a hidden folder!

Hi
I’m building a generic installed but have seen the following issue:

Within the NSI file I have a line that picks up all the app files and sub folders thus.
File /NONFATAL /r SomeFolder\*.*

However we use CVS and the hidden CVS folder is being copied also!!!


How can I avoid this?


Thanks
Animaether#
try adding '/x "CVS"' to the File command. That should keep it from entering and recursing the CVS folder