WMS:Command Line: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Several command line arguments can be used with WMS when it is launched. | Several command line arguments can be used with WMS when it is launched. These commands can modify the properties of the shortcut that launches WMS and edit the target file. More than one command line argument can be used at the same time. | ||
The following command line arguments are available for WMS: | The following command line arguments are available for WMS. Be sure to include the quotes around the path if it includes spaces: | ||
'''- | *'''-about''' | ||
*:Outputs a list of copyright and vendor information for WMS. | |||
*:Example: | |||
*::<code>"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -about</code> | |||
*'''-av''' | |||
*:Specifies an ArcView/WMS Super file to open by WMS at startup. | |||
*:Example: | |||
*::<code>"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -av C:\models\wmsav1.sup</code> | |||
Example: C:\Program Files\ | *'''-dm <module>''' | ||
*:Specifies the default module. Possible values include the following strings: data, drain, map, gis, tree, river, 2dgrid, and 2dscat. | |||
*:Example: | |||
*::<code>"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -dm drain</code> | |||
'''- | *'''-f <file file file...>''' | ||
*:Specifies a file or files for WMS to open at startup. | |||
*:Example: | |||
*::<code>"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -f C:\models\flood.wpr C:\models\flood2.wpr C:\models\flood3.wpr</code> | |||
*'''-gsshakmz <file>''' | |||
*:Opens a GSSHA project file and solution and writes a KMZ animation from the solution. | |||
*:Example: | |||
*::<code>"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -gsshakmz C:\models\gsshamodel.prj</code> | |||
'''- | |||
Example: | |||
*'''-help''' | |||
*:The '''-help''' command displays usage information for WMS command line commands. The output should be directed at a text file. | |||
*:Example: | |||
*::<code>"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -help > C:\Users\jsmith\Desktop\tmp.txt</code> | |||
==Related Topics== | ==Related Topics== | ||
* [[WMS:Setting Up WMS|Setting up WMS]] | * [[WMS:Setting Up WMS|Setting up WMS]] | ||
{{WMSMain}} | {{WMSMain}} | ||
[[Category:WMS General Information]] |
Latest revision as of 00:01, 28 January 2020
Several command line arguments can be used with WMS when it is launched. These commands can modify the properties of the shortcut that launches WMS and edit the target file. More than one command line argument can be used at the same time.
The following command line arguments are available for WMS. Be sure to include the quotes around the path if it includes spaces:
- -about
- Outputs a list of copyright and vendor information for WMS.
- Example:
"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -about
- -av
- Specifies an ArcView/WMS Super file to open by WMS at startup.
- Example:
"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -av C:\models\wmsav1.sup
- -dm <module>
- Specifies the default module. Possible values include the following strings: data, drain, map, gis, tree, river, 2dgrid, and 2dscat.
- Example:
"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -dm drain
- -f <file file file...>
- Specifies a file or files for WMS to open at startup.
- Example:
"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -f C:\models\flood.wpr C:\models\flood2.wpr C:\models\flood3.wpr
- -gsshakmz <file>
- Opens a GSSHA project file and solution and writes a KMZ animation from the solution.
- Example:
"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -gsshakmz C:\models\gsshamodel.prj
- -help
- The -help command displays usage information for WMS command line commands. The output should be directed at a text file.
- Example:
"C:\Program Files\WMS 11.0 64-bit\WMS110.exe" -help > C:\Users\jsmith\Desktop\tmp.txt
Related Topics
WMS – Watershed Modeling System | ||
---|---|---|
Modules: | Terrain Data • Drainage • Map • Hydrologic Modeling • River • GIS • 2D Grid • 2D Scatter | |
Models: | CE-QUAL-W2 • GSSHA • HEC-1 • HEC-HMS • HEC-RAS • HSPF • MODRAT • NSS • OC Hydrograph • OC Rational • Rational • River Tools • Storm Drain • SMPDBK • SWMM • TR-20 • TR-55 | |
Toolbars: | Modules • Macros • Units • Digitize • Static Tools • Dynamic Tools • Drawing • Get Data Tools | |
Aquaveo |