CopyDatabase()

Summary

Copies a standard- or compact-format geographic file.

Syntax

CopyDatabase(string name, string new_name)

Argument Contents
name The name of the geographic file to be copied
new_name The name and path of the copy

Example

CopyDatabase("c:\\Maptitude\\us.cdf", "c:\\myfiles\\mycntry.cdf")

Error Codes

Error Type Meaning
Error Error writing to disk (e.g., out of disk space)

See Also

Function Summary
RenameDatabase() Renames a geographic file
DeleteDatabase() Deletes a standard or compact geographic file