WMS:Command Line

From XMS Wiki
Jump to navigationJump to search

Several command line arguments can be used with WMS when it is launched. You can modify the properties of the shortcut that launches WMS 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 WMS:

  • -dm <module>
    The -dm command is used to specify the default module. Possible values include the following strings: tin, dem, map, tree, 2dgrid, 2dscat.

Example -dm <module>:

C:\Program Files\WMS81\wms81.exe -dm tin
  • -ini <path>
    The -ini command is used to specify the path to the initialization file (wms61.ini) which stores the default settings.

Example -ini <path>:

C:\Program Files\WMS81\wms81.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 WMS can write to it.

Example -tmp <path>:

C:\Program Files\WMS81\wms81.exe -tmp C:\Temp
  • -f <file file file...>
    The -f command is used to specify a file or files for WMS to open at startup.

Example -f <file file file...>:

C:\Program Files\WMS81\wms81.exe -f models/flood.wpr
  • -av <file>
    The -av command is used to specify an ArcView-WMS super file for WMS to open at startup.

Example -av <file>:

C:\Program Files\WMS81\wms81.exe -av models/gisdata.sup
  • -about
    The -about command is used to specify copyright and vendor information for WMS.

Example -about:

C:\Program Files\WMS81\wms81.exe -about


Related Topics