CopyFile()


Copies an existing file to a new file.

Syntax

CopyFile(<cFile>, <cNewFile>) --> None

Arguments

<cFile> --> The name of the file to copy.

<cNewFile> --> The name of the new file to create.

Returns

None.

Description

This function copies a file from one location on your computer or network to another. You should use the IsFile() function to verify the existence of the file you wish to copy before using the CopyFile() function.

generate/mistake2.gifThe Windows operating system does not permit you to copy open files. The CopyFile() function will fail if a user is accessing the file you are attempting to copy.

Notes

____________________________

Related Topics:

Business Function List



CAPITAL VISUAL BUILDER