FileCopy Instruction
Syntax
FileCopy FromName$, ToName$
Group
Description
Copies a file.
Sandbox
Sandbox mode blocks this instruction.
Parameters
| Parameters | Description |
|---|---|
| FromName$ | The path and name of the source file. A path relative to the current directory can be used. |
| ToName$ | The path and name of the destination file. A path relative to the current directory can be used. |
Example
Sub Main FileCopy "C:\AUTOEXEC.BAT","C:\AUTOEXEC.BAK" End Sub