Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If destfile exists and overwriteflag = 1, the file is copied and result = 1. The nonzero result does not indicate an error, but rather that destfile was overwritten.

See Also

CopyOSFile()

 

Example

...

Example

Code Block
/* copy C:\AUTOEXEC.BAT to C:\AUTOEXEC.SAV */
 
declare function Utility
retval = Utility("COPYFILE" , "C:\AUTOEXEC.BAT", "C:\AUTOEXEC.SAV")