Archive: Copy Files to Directory and Overwrite if theres any Collisions


Copy Files to Directory and Overwrite if theres any Collisions
Hello

I am attempting to move files from directory A to directory B. When I move the files into directory B, if there are any collisions then I want the files from A to overwrite the collisions in B.

Will my following code do this?

SetOverwrite ifnewer
CopyFiles \SILENT "Directories/Directory_A/" "Directories/Directory_B"

Note: I am aware of the function MoveFileFolder but I am experiencing buggy behaviour where the files are not being moved when the function is called.


http://forums.winamp.com/showthread.php?t=136953

Please Note:
"Fully-qualified path names should always be used with CopyFiles. Using relative paths will have unpredictable results."
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.3.2