Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
HKLM\SOFTWARE\Microsoft\Command Processor
Data type | Range | Default value |
---|---|---|
REG_DWORD |
0 | 1 |
1 |
Specifies whether the extensions to Command Processor (Cmd.exe), such as chdir and setlocal, are enabled. Because the extensions might be incompatible with a command-script language, Windows Server 2003 lets you disable the extensions. This entry affects all extensions. You cannot use it to enable or disable extensions selectively. You can, however, disable extensions for a particular invocation of Cmd.exe by using the /E:OFF switch.
Value | Meaning |
---|---|
0 |
Disabled |
1 |
Enabled |
You can change the value of this entry by using Cmd.exe and typing cmd /e:off, but only for the duration of that Cmd.exe's execution. For all other changes, you must edit the registry directly.
If you make changes to the value of this entry by editing the registry directly, you must restart Cmd.exe to make the changes effective.
Notes
EnableExtensions can appear in HKLM and HKCU. If both appear in the registry, then the value of the entry in HKCU takes precedence over the value in HKLM.
The datatype of this entry can be either REG_DWORD or REG_SZ.