FileCopy: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(BF: Forgot "!define FileCopy `!insertmacro FileCopy`". BF: Forgot quotes.) |
m (Updated author and download links, and changed format of some pages.) |
||
Line 16: | Line 16: | ||
</highlight-nsis> | </highlight-nsis> | ||
Page author: Joelito | Page author: [[User:Joelito|Joelito]] |
Revision as of 12:34, 23 April 2005
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
Page author: Joelito