DxWnd accepts some command line arguments.

There are two sets of arguments, for DxWnd in server mode or client mode: DxWnd in server mode is a single instance of the process that keeps running in foreground or in icon tray. DxWnd in client mode is a used to send a single command to the server mode instance and immediately terminate. Client mode commands implement the same functionalities available from the interactive DxWnd GUI, but are useful to be inserted in scripts.

NOTE: The command after the slash character is not case sensitive, that is, for instance /E and /e are identical commands.

Server-mode arguments. You can use none, any, or all of them to alter the program's behavior:

/T

Starts DxWnd iconized in the System Tray (see DxWnd in the System Tray).

/I

Starts DxWnd initially in the IDLE state, so that it doesn't affect the programs until you manually issue a Hook > Start command.

/C:<filename>

Uses the <filename> configuration file instead of the default config.ini file. In any case, the configuration file must be located in DxWnd's working directory.

/lang=<xx>

If you need a localized version of DxWnd, this argument causes DxWnd to load all resource text from the external DLLs, given in Resources_<xx>.dll.

/debug

Enables debug features. Not recommended!

/R:n

Automatically starts DxWnd iconized to the system tray, runs the nth program in the configuration file, and exits DxWnd.

/Q

Quiet mode. DxWnd will not produce message dialogs.

/H

GUI stays hidden in the icon tray after program termination.

/A

Auto hide: DxWnd GUI minimize itself upon each program activation and resumes after its termination.

/N

No icon spinning: DxWnd icon in icon tray doesn't show the active icon spinning effect that is made by changing the red icons with a black bar in quick sequence.

/X

when DxWnd runs iconized, suppresses the DxWnd icon in the icon tray. Beware: in this way it could become impossible to grab the DxWnd window again to terminate it, so in case you need to stop it, DxWnd will have to be terminated by the "DxWnd /e" command or by killing the DxWnd process with the task manager.


Client-mode arguments. You should use only one of them per each client-mode invocation:

/E

Terminate any existing session of DxWnd. To make it possible to run a new session. Beware: configuration changes may not be saved!

/L:<filename>

Loads the <filename> dxw file adding it to the end of the configuration list of the running DxWnd session.

/Y:<filename>

As like /L command, loads the <filename> dxw file adding it to the end of the configuration list of the running DxWnd session, but also runs the added program.

/Y:#<n>

Runs the <n>th program's entry in the configuration list of the running DxWnd server session.

/Z

BEWARE: Completely erases the current program list.

/S

Silently (that is, without asking for confirmation) saves the current task configuration.



Tip: You can create a batch file (.bat or .cmd) on your desktop with the following lines in it:

cd C:\Dxwnd

dxwnd.exe /R:1

(This example assumes that Dxwnd is installed in "C:\Dxwnd" folder and the first configured game "R:1" is run.)

Alternatively you could create a shortcut from Dxwnd.exe to the desktop and edit the "Target" field to read:

C:\Dxwnd\dxwnd.exe /R:1