views:

42

answers:

0
+1  Q: 

Copy Files in NSIS

I am using the following command to copy files.

After setting output path...

File "Documents\*"

This action works flawlessly. There are no issues coping the files in the Documents directory until...

if there is a copy of an existing file (with a different name) in the directory only the first instance of the file gets copied regardless of name.

How do I make it so it will copy ALL files regardless if they are copies of other files?

Correction/better explanation (maybe)

I apologize for the confusion. Allow me to try to restate the problem. The files being extracted by using the FILE command is the issue here. The files consists of original files and copies of the same files (only with a different name).

example: MyDocument.txt and copyOfMyDocument.txt and so on..

When the File command is applied, in order to be extract the files to the current output path, only the first instance of the file is extracted (either the copy or the original... but not both). Again, I am sorry for the confusing but this is the first time I've had to work with NSIS. I need to extract ALL files.