FileCopy: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Adding new author and category links.) |
mNo edit summary |
||
Line 2: | Line 2: | ||
== Description == | == Description == | ||
This macro makes "CopyFiles" to don't set the error flag when copying files to an inexistant folder. | This macro makes "CopyFiles" to don't set the error flag when copying files to an inexistant folder by creating the destination folder. | ||
== How To Use == | == How To Use == |
Revision as of 11:04, 20 January 2006
Author: Joel (talk, contrib) |
Description
This macro makes "CopyFiles" to don't set the error flag when copying files to an inexistant folder by creating the destination folder.
How To Use
${FileCopy} `filespec_on_destsys` `destination_path`
The Script
!define FileCopy `!insertmacro FileCopy` !macro FileCopy FilePath TargetDir CreateDirectory `${TargetDir}` CopyFiles `${FilePath}` `${TargetDir}` !macroend