# Command Line Arguments

The development environment `DNWinApp` and the command line tool `DNConsole` understand several command line arguments, which influence the behavior of the DynamicNodes runtime and some other parameter.

## Windows Application DNWinApp

Argument | Effect
`-sp <path>` `--systempath <path>` | Specifies the system path for DynamicNodes. The default value is the program directory of DynamicNodes.
`-wsp` `--workspacepath` | Specifies the working directory for DynamicNodes. The default value is `%USERPROFILE%\Documents\DynamicNodes` or on older Windows operating systems `...\My Files\DynamicNodes`.
`-nows` `--noworkspace` | Tells DynamicNodes to start without a working directory. This argument is handy if DynamicNode is run from a read-only media and no traces shall be left on the system.
`-lp <path>` `--addlibpath <path>` | Provides an additional directory with node libraries.
`-lib <path>` `--addlib <path>` | Provides a path to an additional node library (DLL file).
`-nosl` `--nosyslibs` | Prevents DynamicNodes from loading the system node libraries.
`-nowsl` `--noworkspacelibs` | Prevents DynamicNodes from loading the node libraries in the node library folder of the working directory.
`-h` `--help` | Starts a stand alone help viewer instead of the development environment.
`-t` `--test` | Starts a stand alone node test environment instead of the development environment.
`-ns --nosplash` | Prevents DynamicNodes from showing a splash window prior to the start.
`-log` | Activates the logging. Log files are written to the subfolder `logs` inside the working directory.
`-sh` `--shell` | Loads the Microsoft PowerShell Engine as part of the development environment (Application Core Shell). This argument requires a working installation of PowerShell on the system. Since Microsoft Windows 7 the PowerShell is preinstalled.
`-svr` `--loadserver` | Loads the server component for remote controlling the DynamicNodes runtime.
`-rsvr` `--runserver` | Runs the server component for remote controlling the DynamicNodes runtime on startup of the runtime. This flag implicit activates the flas `--loadserver` for loading the server component.

## Command Line Tool DNConsole

Argument | Effect
`-?` `-h` `--help` | Show this help text.
`-i` `--info` | Show system and version informations.
`-ss` `--showsettings` | Show start configuration.
`-l` `--locale` | Specifies a culture ID for localization. E.g.: 'en', 'en-US', 'de', or 'de-CH'
`-noui` | Do not provide an interactive user interface. This is useful in batch scripts.
`-sp <path>` `--systempath <path>` | Specifies the system path for DynamicNodes. The default value is the program directory of DynamicNodes.
`-wsp` `--workspacepath` | Specifies the working directory for DynamicNodes. The default value is `%USERPROFILE%\Documents\DynamicNodes` or on older Windows operating systems `...\My Files\DynamicNodes`.
`-lp <path>` `--addlibpath <path>` | Provides an additional directory with node libraries.
`-lib <path>` `--addlib <path>` | Provides a path to an additional node library (DLL file).
`-nosl` `--nosyslibs` | Prevents DynamicNodes from loading the system node libraries.
`-nowsl` `--noworkspacelibs` | Prevents DynamicNodes from loading the node libraries in the node library folder of the working directory.
`--noERROR` | Suppress error messages.
`--noWARNING` | Suppress warning messages.
`--noINFO` | Suppress informational messages.
`--VERBOSE` | Activates verbose messages.
`-noMT` `--nomultithreading` | Switches multi thread execution in the runtime off.
`-tp <Größe>` `--threadpool <Größe>` | Legt die Größe des Thread-Pools fest, mit dem die Laufzeitumgebung die Parallel-Verarbeitung organisiert. Der Standardwert ist die Anzahl der Prozessoren.
`-in <ID> <Value>` `--input <ID> <Value>` | Provides an input value for a super in port of the graph. The first argument is the ID of the super in port, the second argument is the string value to place on the super in port. This switch can be used more than once.
`-eo <mode> <flag>` `--exiton <mode> <flag>` | Provides the exit criteria for the runtime. Possible values for the first parameter <mode> are: `DEATH`, `FLAG_VALID`, `FLAG_INVALID`, and `FLAG_NOT_SET`. In case the mode depends on a flag, the name of the flag is specified in the second parameter. E.g.: `-eo DEATH` or `-eo FLAG_VALID finished`