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