FileCopy: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (SF: Joelito -> Joel.) |
m (Updated author links.) |
||
Line 1: | Line 1: | ||
{|align=right | |||
|<small>Author: [[{{ns:2}}:Joel|Joel]] ([[{{ns:3}}:Joel|talk]], [[{{ns:-1}}:Contributions/Joel|contrib]])</small> | |||
|} | |||
<br style="clear:both;"> | |||
== 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 15: | Line 19: | ||
!macroend | !macroend | ||
</highlight-nsis> | </highlight-nsis> | ||
Revision as of 02:56, 30 April 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