EnableExtensions Entry

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

EnableExtensions

HKCU\Software\Microsoft\Command Processor

Data type Range Default value

REG_DWORD

0 | 1

1

Description

Specifies whether the extensions to the 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 this entry to selectively enable or disable extensions.

Value

Meaning

0

Disabled

1

Enabled

Change Method

You can change the value of this entry by using Command Processor (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.

Activation Method

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

  • The datatype of this entry can be either REG_DWORD or REG_SZ.

  • EnableExtensions can appear in HKLM and in HKCU. If both appear in the registry, the value of the entry in HKCU takes precedence over the value in HKLM.

See Also

Concepts

Command ProcessorEnableExtensions