DxWnd accepts a few command line arguments. You can use none, any, or all of them to alter the program's behavior:

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

/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.

/E

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

/H

GUI stays hidden in the icon tray after program termination.

/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.



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