WMS:Command Line: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:


*'''-dm <module>'''
*'''-dm <module>'''
*:The -dm command is used to specify the default module. Possible values include the following strings: tin, dem, map, tree, 2dgrid, 2dscat.
*:The '''-dm''' command is used to specify the default module. Possible values include the following strings: tin, dem, map, tree, 2dgrid, 2dscat.
*:Example:  
*:Example:  
  C:\Program Files\WMS81\wms81.exe -dm tin
  C:\Program Files\WMS81\wms81.exe -dm tin


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


*'''-tmp <path>'''
*'''-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.
*: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:  
*:Example:  
  C:\Program Files\WMS81\wms81.exe -tmp C:\Temp
  C:\Program Files\WMS81\wms81.exe -tmp C:\Temp


*'''-f <file file file...>'''
*'''-f <file file file...>'''
*:The -f command is used to specify a file or files for WMS to open at startup.
*:The '''-f''' command is used to specify a file or files for WMS to open at startup.
*:Example:  
*:Example:  
  C:\Program Files\WMS81\wms81.exe -f models/flood.wpr
  C:\Program Files\WMS81\wms81.exe -f models/flood.wpr


*'''-av <file>'''
*'''-av <file>'''
*:The -av command is used to specify an ArcView-WMS super file for WMS to open at startup.
*:The '''-av''' command is used to specify an ArcView-WMS super file for WMS to open at startup.
*:Example:  
*:Example:  
  C:\Program Files\WMS81\wms81.exe -av models/gisdata.sup
  C:\Program Files\WMS81\wms81.exe -av models/gisdata.sup


*'''-about'''
*'''-about'''
*:The -about command is used to specify copyright and vendor information for WMS.
*:The '''-about''' command is used to specify copyright and vendor information for WMS.
*:Example:  
*:Example:  
  C:\Program Files\WMS81\wms81.exe -about
  C:\Program Files\WMS81\wms81.exe -about

Revision as of 14:35, 1 April 2013

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:
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:
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:
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:
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:
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:
C:\Program Files\WMS81\wms81.exe -about


Related Topics