GMS:Command Line Arguments

From XMS Wiki
Revision as of 17:42, 23 October 2014 by Jcreer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Several command line arguments can be used with GMS when it is launched. On the PC, users can modify the properties of the shortcut that launches GMS and edit the Target item. More than one command line argument can be used at the same time.

The following command line arguments are available for GMS:

-dm <module>

The -dm command is used to specify the default module. Possible values include the following strings: tin, borehole, solid, 2dmesh, 2dgrid, 2dscat, 3dmesh, 3dgrid, 3dscat, map.

Example: C:\Program Files\GMS 6.5\gms65.exe -dm tin

-r <path>

The -r command is used to specify the path to the resource directory. This is the location of the password file.

Example: C:\Program Files\GMS 6.5\gms65.exe -r "C:\Jims Area\"

-ini <path>

The -ini command is used to specify the path to the initialization file (gms30.ini) which stores the default settings.

Example: C:\Program Files\GMS 6.5\gms65.exe -ini C:\MyStuff

-tmp <path>

The -tmp command is used to specify the path to the temporary directory. The privileges on this directory must be such that GMS can write to it.

Example: C:\Program Files\GMS 6.5\gms65.exe -tmp C:\Temp

-f <file file file...>

The -f command is used to specify a file or files for GMS to open at startup.

Example: C:\Program Files\GMS 6.5\gms65.exe -f models/transport.sup

-help

On UNIX, the -help command displays the above information about GMS command line arguments.

Example: gms -help