FileCopy: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.)
m (SF: Joelito -> Joel.)
Line 16: Line 16:
</highlight-nsis>
</highlight-nsis>


Page author: [[User:Joelito|Joelito]]
Page author: [[User:Joel|Joel]]

Revision as of 17:42, 27 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: Joel