JSI Tip 3455. How can I disable command extensions in Windows 2000?

Command (CMD.EXE) extensions are enabled by default in Windows 2000.

If you use a script language that is incompatible with command extensions, you can disable them:

- To disable the CMD extensions for a user, set the EnableExtensions value name, a REG_DWORD data type, to 0 at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor.

- To disable the CMD extensions for all users, set the EnableExtensions value name, a REG_DWORD data type, to 0 at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor.

- To disable the CMD extensions for a single invocation of CMD.exe, use the /E:OFF switch.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish