Wednesday, February 27, 2008

Starting Programs Automatically at Each Command Prompt

If you want to start a program (like DOSKEY) or set an environment variable each time you open a command prompt:
  1. Start Regedit
  2. Go to HKEY_CURRENT_USER\Software\Microsoft\Command Processor
  3. Create a String key called Autorun
  4. Give it the value of the command you want to run
  5. Multiple commands need to be separated by a double ampersand (&&)

No comments: