Previous Topic

Next Topic

CopyFile - MaxBasic Function

CopyFile(SourceFileName: String, DestinationFileName: String[, Overwrite: Boolean]): Boolean

Copy File function copy the file specified in Source File Name to the file specified in Destination File Name, optionally over writing if destination file already exists.

CopyFile function syntax has these named arguments:

Parameter

Description

Source File Name

Required. The name of the file to be copied from.

Destination File Name

Required. The name of the file to be copied to.

Overwrite

Optional. Overwrite Destination file if it already exists. Default False if not specified.

See Also

Environment Functions

Book Contents

Book Index