You can define startup conditions for GoldMine by running a command statement with one or more of the following parameters.
Command Description Example
|
Command |
Description |
Example |
|
u |
Automatically enters the specified name in the Username field of GoldMine’s login window |
/u:john |
|
p |
Automatically enters the specified value in the Password field of GoldMine’s login window |
/p:password |
|
s |
Silent mode |
/s:dde or /s:goldsync |
|
g |
GoldDir |
/g:c:\goldmine |
|
c |
Opens the specified contact file—the example shows the CommonDir contact file |
/c:c:\goldmine\common |
|
i |
Locale |
/i:GML_FRA |
|
m |
Runs the specified macro |
/m:802 |
|
r |
Rebuilds the open contact file |
/r:1,5 |
The syntax for the maintenance /r option includes two numeric parameters. The first parameter indicates the process type. The second parameter indicates which tables to process. Both parameters allow for multiple options and tables by adding the values of all desired options.
Example: The following statement rebuilds all contact files and the CAL.DBF file, then quits GoldMine when done passing the following parameters:
Gmw5 /u:username /p:password /r:36,18
The value 36 consists of MFO_Rebuild (4) and MFO_LogoutWhenDone (32), which are described below. The second parameter of value 18 processes IO_CurrContFiles (2) and Cal (16).
The first parameter includes the following options:
Index 1// index
IndexUI 2// index w/o status
Rebuild 4// rebuild
ConvertRecID 16// converts to record Ids
Minimize 32// minimizes GoldMine
LogoutWhenDone 64// exit GoldMine when done
LogoutAll 128// force log out all users before beginning
The second parameter can process the following tables:
IO_GMDirFiles 1// GoldMine directory files
IO_CurrContFiles 2// current contact files
IO_AllContFiles 4// all contact files
The following individual file values are available:
Table/Value
LookUp 8
Cal 16
Forms 32
GTLog 64
CTLog 128
Contact1 256
Contact2 512
ContSupp 1024
ContHist 2048
ContGrps 4096
Filters 8192
DataDict 16384
SpFiles 32768
Users 65536
PerPhone 131072
ContUDef 262144
Resource 524288
ImpExp 1048576
InfoMine 2097152
ScriptsW 4194304
Reports 8388608
ViewFields 16777216
APTracks 33554432
FormsFld 67108864
UserLog 134217728
Reports 268435456
MailBox 536870912
ErrorLog 1073741824
SyncLog 2147483648
SyncProc 4294967296
SyncSite 8589934592
SyncTask 17179869184
SyncLock 34359738368
OpMgr 68719476736
OpMgrFld 137438953472
LeadDbfs 274877906944
LeadFile 549755813888
You can include multiple parameters in one command line statement. To run a command with multiple parameters, place a space between each parameter. The following example shows a command that consists of multiple parameters.
Example: The following command statement starts GoldMine silently as a DDE server, logs in Dave, then opens the Demo contact file.
GMW5.EXE /u:DAVE /p:GB98 /s:DDE /c:c:\goldmine\demo