PC Tools - Essential tools for your PC | United States & Canada
Search
 
 
Features
 
 
Newsletter
 
Registry Home > Windows > Accessories > Command Processor

Run Startup Programs in a Command Prompt (Windows 2000/XP) Popular

This setting allows you to specify commands or programs to be automatically executed whenever a command processor is launched. For example, to set environment variables or parameters using a batch file.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find the key below.

Create a new string value called "AutoRun" and set the value to equal the commands to be automatically executed. Multiple commands should be seperated by double ampersands e.g. "command1 && command2".

The changes will take effect the next time the command processor is used.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|AutoRunREG_SZ"c:\batch\environ.bat"|
-
|HKEY_CURRENT_USER\Software\Microsoft\Command Processor|
-
Registry Settings
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Value Name: AutoRun
Data Type: REG_SZ (String Value)
Value Data: Command to Execute

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: May 13, 2002

 
  Copyright © 1998-2009 PC Tools. All rights reserved. Privacy Policy | Legal Notice