Archive: CopyFiles and wildcards. Can you exclude sub-directories?


CopyFiles and wildcards. Can you exclude sub-directories?
Is there a way to use the CopyFiles command with wildcards (*.*), so it copies all the files in a directory, but not the sub-directories in it?


One possibility is to add the flag FOF_FILESONLY to exec.c (line 883).

But I don't know a solution without modifying the source.

regards,
~ Florian


I'm adding a /FILESONLY switch for 1.71..

-J


Justin is da man! Now if only the dude who made the NSIS wizard could make it work with the newest version.


Originally posted by justin
I'm adding a /FILESONLY switch for 1.71..

-J
Awesome! Thanks again Justin!!!

Carlos