ZDE has a number of command line parameters; they are specially useful for people that want to create shortcuts to launch their favourite mods by double clicking (the program can create those shortcuts for you! Check the tools menu).
Command line parameters have a Unix like syntax; some parameters have two versions: a short one with a single hyphen (-) or a long version with two hyphens (--), only one version is needed; parameters are Case Sensitive.
Possible parameters are:
-? | --help
Display command line help screen.
<someprofile>.zdeprof
Loads the specified profile.
-R | --run
Run the first engine in the list or the one specified in the loaded profile after starting ZDE.
-X | --exit
Exits the program (useful with -R and an optional profile, rather pointless otherwise).
The following set ZDE to the specified game (unneeded and ignored when loading a profile):
-doom
-doom2
-evilution
-plutonia
-heretic
-hexen
-deathkings
-strife
-chex
-chex3
-action
-harmony
-hacx
-freedoom
-freedoom2
-blasphemer
-square
Parameters can be passed in no particular order.
Examples:
To load Doom 2: Hell on Earth and run it directly a user would type:
zde -doom2 --run
To load the evil mod that has a profile called evilmod.zdeprof, run it and exit ZDE a user would type (using the short version of the parameters):
zde -R "c:\my mods\evilmod.zdeprof" -X
Note the quotes around the path: if using names without spaces they are optional (though recommended) and mandatory if spaces are part of the path or profile name.