ArcPad Scripting Object Model
Copy Method
See Also  Send comments on this topic.
ExistingFileName
Required. A String that represents the full path of the file to be copied.
NewFileName
Required. A String that represents the full path of the destination file to copy to.
FailIfExists
Optional. A Boolean that specifies whether to abort the copy if the destination file already exists.
File Object : Copy Method

Glossary Item Box

Description

Copies an existing file to a new file.

Syntax

object.Copy ( ExistingFileName, NewFileName [,FailIfExists] )

Parameters

ExistingFileName
Required. A String that represents the full path of the file to be copied.
NewFileName
Required. A String that represents the full path of the destination file to copy to.
FailIfExists
Optional. A Boolean that specifies whether to abort the copy if the destination file already exists.

Return Type

Boolean

Remarks

FailIfExists is a boolean specifying whether to abort the copy if the destination file already exists. If not specified, FailIfExists is False. [Optional].

See Also

© 2012 All Rights Reserved.