PDA

View Full Version : Adding/modifying "run commands"?


imzjustplayin
06-03-2007, 01:46 PM
For some applications, it seems like you can just go to Run and then type the name of the application or at least the abbreviation and it'll run..

Example: Type command and command.com will show up. Even some non windows applications can add this function so if I type Opera it'll load up opera, sometimes if opera isn't installed properly it won't.

So now I'm wondering, where is this information stored? I tried searching through the registry but couldn't find it, is it in an .ini file? Where can I edit this information so that I can add my own programs to this? My biggest problem is that when I type command I get an error saying it couldn't find command.com due RUN pointing to an outofdate directory to which command.com resided. (I moved the Windows Directory to the D:\ instead of it being in C:\.

MentholMoose
06-17-2007, 12:41 AM
When you type a command into the Run box, Windows will search the directories listed in the %PATH% environment variable for the program. You can edit %PATH% using the System Properties tool (Control Panel > Advanced > Environment Variables). Some programs add their install directory to %PATH%.