Subscribe to Windows IT Pro
May 12, 2000 12:00 AM

JSI Tip 2373. Windows 2000 CMD AutoRun.

Windows IT Pro
InstantDoc ID #73694
Rating: (0)

When you open a CMD prompt in Windows 2000, CMD.EXE checks to see if AutoRun is configured at:

HKEY_Current_User\SOFTWARE\Microsoft\Command Processor

If this String (REG_SZ) variable contains commands or the full path to a batch file, it is run. If no AutoRun value name exists at the above key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor is checked.

If AutoRun is configured, you can open a CMD prompt without invoking it, by running CMD /D.

You can define a machine standard script and different ones for each user.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.