copy

Summary

Makes a queued copy of the specified file.

Method of

File object

Syntax

int copy( FileSpecObject source, FileSpecObject dest )

Parameters

The copy method has the following parameters:

source
A FileSpecObject object reprsenting the file to be copied.
dest
A FileSpecObject object representing the destination directory.

Returns

An integer error code. For a list of possible values, see Return Codes.

Description

The destination can be a directory or a filename. If destination does not exist a new file will be created.

Document Tags and Contributors

 Last updated by: Sheppy,