fileMenu.saveCopy
| Syntax |
fileMenu.saveCopy (path)
|
| Params |
path is a full path name to the file in which you wish to save a copy of the current version of the Frontier root file.
|
| Action |
Saves a copy of the current version of the Frontier database in the file pointed to by path, overwriting the contents of such a file if it exists, without confirmation.
|
| Returns |
True
|
| Examples |
fileMenu.saveCopy ("System:Frontier:Backups:My Root Copy") fileMenu.saveCopy ("C:\\backups\\backup.root") |
| Errors |
If a disk error occurs during this process, an error message is generated and the script terminates.
|
| Notes |
The examples above show you how to create a compact version of the main object database, Frontier.root or Radio.root. You can also create a compact copy of any guest database by calling target.set on an address in the database before calling fileMenu.saveCopy. Here's an example.
target.set (@weblogsComHelperData)
|
| See Also |
fileMenu.save
|