ShellExecOption/ShellExecOptionDeb Directives

Controls the command line option(s) that appear after the ShellExec executable.

Purpose

The ShellExecOption directive specifies any command line options that appear after the ShellExec executable in the startup command line. The ShellExecOptionDeb directive does the same thing, except it is effective when shell trace debugging is enabled (at which time ShellExecOption is not effective).

Normally, the shell exec option is used to tell the DOS shell to execute the procedure given on its command line, then exit when it is finished. For the standard DOS shell COMMAND.COM, this is /C.

The debugging option replaces the normal option when script debugging is enabled. Normally, this permits the script machinery to open the DOS VM window for inspection and leave it at the shell prompt when script execution terminates. This permits the script developer to see what's happening in the VM. For the standard DOS shell COMMAND.COM, this is /K.


Syntax

ShellExecOption opt

ShellExecOptionDeb opt

opt is the command line option.

Only one ShellExecOption and one ShellExecOptionDeb directive is allowed in the configuration file.


Defaults

If you do not specify a ShellExecOption, httpd assumes:

ShellExecOption /C

If you do not specify a ShellExecOptionDeb, httpd assumes:

ShellExecOptionDeb /K


Example

ShellExecOption /C/E:8192

One way to add environment space to your DOS shell scripting environment.

Return to Wizard Scripting Overview


Robert B. Denny <rdenny@netcom.com>