Open the Registry Editor and expand the [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ app paths] branch in sequence. Below the "app paths" primary key, we can see many names named ". EXE, click a primary key to view its string on the right, where the "path" string is the path of the program. It is precisely because of these primary keys that we can easily start a program in the "run" dialog box. With this principle, we can freely add convenient startup methods for other programs.
Take QQ as an example: we want to add a convenient start method for QQ. The installation path is D: \ Program Files \ Tencent \ qq.exe. Create a new subkey named "cmdqq.exe" under "app paths.exe" (it cannot be the same as an existing name), and set the "path" string to "D: \ Program Files \ Tencent \ qq.exe" in the right window. Exit Registry Editor. In the "run" dialog box, enter "QQ" and press enter to start QQ!
Tip: in fact, we can add shortcuts for any file. Windows will automatically call the corresponding program to open the file. The method to add is the same as the above. Enter the startup path of the program in the "path" string. Note that the new secondary primary key name must have an extension, such as EXE and TXT. If you use the EXE extension, you only need to enter the name in the "run" dialog box. If you use another extension, you must enter the name + extension to start. To start the corresponding file. If it is a. BAT file, we can first create a program shortcut, the Primary Key Path points to this shortcut, take Tomcat as an example:
Primary Key tom.exe
Path c: \ Program Files \ tomcat5.5.26 \ bin \ Tom
The Tom at the end of the path is the created shortcut name.