Command Line Switches
Switches, arguments, parameters. Whatever you call them. I’m looking for a way to connect to a server by loading WoW from an MS-DOS Command Prompt. I’m assuming it would be something like…
Wow***** -connect 123.123.123.123:1234
…since that’s what you use in StarCraft (apparently).
I don’t own WoW, but if someone does know the command line switches (other than changing the screen resolution - I’m already aware of those) used for connecting to a WoW server I’d really appreciate it.
The reason I’m asking is because I’m currently writing a little application similar to GameSpy Arcade and Xfire in that it needs certain entries in order to find a game, load it, and connect the player to a specified server. For example, Battlefield 2 uses the parameters +joinServer and +port so the game entry in my application would be the following for BF2…
<game>
<code_name>bf2</code_name>
<search_path>BF2*****</search_path>
<connect_string>+menu 1 +fullscreen 1 +port %port% +joinServer %ip%</connect_string>
<real_name>Battlefield 2</real_name>
<registry_key>HKEY_LOCAL_MACHINE\SOFTWARE\Electron ic Arts\EA GAMES\Battlefield 2\InstallDir</registry_key>
<add_to_key>\bf2*****</add_to_key>
<install_hint>\bf2*****</install_hint>
</game>
What I need is the <connect_string></connect_string> for World of Warcraft so I’ll be able to include a similar entry in my application.
I could guess it might be +connect or -connect or maybe even +server, but I’d rather know the correct parameter(s).
By the way, some ~SENSORED~ swear filter has replaced dot exe with asterisks. Thanks a lot.