AutoRun

HKCU\Software\Microsoft\Command Processor

Data type Range Default value
REG_SZ list of commands There is no default value for this entry.

Description

Contains commands which are executed each time you start Cmd.exe.

Change method

To change the value of this entry, use Command Processor (Cmd.exe).

Note Image Note

AutoRun can appear in HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. If both appear in the registry, the value of the entry in HKEY_CURRENT_USER takes precedence over the value in HKEY_LOCAL_MACHINE.

The command line switches take precedence over the registry settings.

Tip Image Tip

To disable AutoRun for one use of the command processor, at the command prompt, type CMD /D.

For more information about the AutoRun feature, at the command prompt, type CMD /?.

Related Entries

Page Image