|
Function | With CopyFile you can copy a file. |
Example | CopyFile source=“C:\images\p100.gif” destination=“C:\temp\p100.gif”
The file “C:\images\p100.gif” is copied into “C:\temp\p100.gif”. |
Format | CopyFile source=“sourcefile” destination=“destinationfile”
A copy of the source file is created with the specified name. If such a file already exists, it is overwritten. If the source file does not exist, no action is performed. With if Q[ok] you can query whether the copy operation has been successful. With source= you can specify:
And with destination= you can specify:
User and password, if required for an http/ftp server, can be notated as follows:
|