CopyFile()
语法
Result = CopyFile(SourceFilename$, DestinationFilename$)概要
Copy the source file to the destination.
参数
SourceFilename$ The file to copy. DestinationFilename$ The location to copy the file to.
返回值
Returns nonzero if the operation was successful or zero if it failed.
Remarks
If the destination file already exists, it will be overwritten. The FileSize() function can be used to determine if the target exists or not. If source file and destination file are the same, a copy will not occurs and zero will be returned.
参阅
RenameFile(), DeleteFile(), FileSize(), CreateFile(), OpenFile()
已支持操作系统
所有