Skip to content

copyDatabase

MicroBlaster edited this page Jul 3, 2020 · 3 revisions

Purpose: Copies an existing database with the specified name and loads the new database.

Syntax: copyDatabase {SourceName} {DestName}

{SourceName}: The name of the database to be copied.
{DestName}: The name of the destination database.

Notes: Options can be configured with the editDatabase command after a database is copied. The new database is not opened automatically.

Example:

copyDatabase "DefaultDB" "ClassicTW-1"

editDatabase "ServerName=twgs.classictw.com" "ServerPort=2002"
editDatabase "LoginName=Micro" "Password=Meow" "GameLetter=A"

openDatabase "ClassicTW-1"
connect

Clone this wiki locally