|
CopyFile |
Top Previous Next |
|
CopyFile
Syntax CopyFile([in] SourceFilePath, [in] TargetFilePath);
Description To copy a file.
Parameters SourceFilePath The source file path. TargetFilePath The target file path.
Return 1 = success 0 = failed -1 = FSCommands cannot be found
Example
FSCommand("CopyFile", "C:\\Test.dat,C:\\Moved\\Test2.dat");
This will copy file c:\test.dat into c:\moved\test2.dat
You can use an escape character ~ (tilda) to insert a comma into a file path. |