COPY

Previous  Next

 

COPY srcfile TO dstfile

 


 

Copies an existing file to a new file.   The copy will fail if the destination file exists,

 

Examples:

 

' Copy all files to temp folder

 

nFiles = FF.Find( hFF, EL_FF_NormalFiles )

 

FOR i = 1 TO nFiles

  srcFile = FF.GetFilePath( hFF, i )

  tmpFile = PATH.GetTempFile()

 

  COPY srcFile TO tmpFile

ENDFOR