FileCopy: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Added category links.) |
m (Adding new author and category links.) |
||
Line 1: | Line 1: | ||
{ | {{PageAuthor|Joel}} | ||
== 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. | ||
Line 20: | Line 18: | ||
</highlight-nsis> | </highlight-nsis> | ||
[[ | [[Category:Disk, Path & File Functions]] |
Revision as of 12:11, 24 June 2005
Author: Joel (talk, contrib) |
Description
This macro makes "CopyFiles" to don't set the error flag when copying files to an inexistant 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