How to change the association method of files and programs (1)

  

Let's share with you how to change the association method of files and programs. This trick can be used to set which default program should be used to open this file. program!

When you open a file in Windows, the system will automatically call the corresponding program to open it. But sometimes we don't want to use this program to open this file, this has to change the association between the file and the program. There are some ways to change the association on the Internet, but by modifying the registry, you can also find a way to modify the file and program association at will.

Run Regedit, you can find two primary keys under HKEY_CLASSES_ROOT, "*" and "Unknown", the contents of the "*" primary key correspond to all types of files, and the contents under the "Unknown" primary key correspond to When an unknown type of file is opened, that is, when double-clicking an unknown type of file, the "Open Mode" dialog box is displayed. All we have to do is copy all the source source books under "Unknown" to the "*" primary key.

Expand the "Unknown" primary key, the content under it is the key value AlwaysShowExt and the primary key shell, the primary key under the shell is the primary key openas, the openas primary key is the primary key command, each primary key (except command) has a default The key value "no key value is set", the key value content under the command primary key is "C:\\WINDOWS\ undll32.exe

shell32.dll, OpenAs_RunDLL

%1", these contents Copy to the "*" primary key, pay attention to capitalization and spaces, do not make a mistake, delete the "Unknown" primary key, exit the registry editor, and you're done.

At this time, when we double-click a file with the left mouse button, the system will still call the currently associated program to open it, and when you right click on a file, you will find one more item in the shortcut menu. "Open mode", select it, you can choose the program you want to use, if you want to change the association, just put a checkmark in the "Always use this program to open this type of file" checkbox.

Tip: Different computer operating system settings are slightly different!

The following is the WIN7 operating system as an example to see how to change the association method of files and programs:

Windows7 file association default program open modification method:

Everyone may often In this case, a lot of software is installed, such as a variety of browsers, video players are very diverse, the wind is like this, the system is loaded with a lot of software, the results of the program is opened by default, the file association is also messed up So how do you modify this content?

Nowadays, many manufacturers have introduced similar application software. For example, there are many audio and video playback softwares that we use, but these third-party software will be partially modified after installation. The default use of the program, many times we do not pay much attention to this installation, after the software installation is complete, but your Windows default use program has also been modified, then it may have some impact when used So, today I will introduce you to the "default program" of Windows 7.
First we have to find the "default program", he is in the "Start" menu (Figure 1), we can open the "Default Program" interface with a single click (Figure 2). Here we see that the "default program" has preset four categories for us, "set default program", "associate file type or protocol with program", "change 'auto play' settings" and "set program access" And computer defaults." Below we introduce you to the "set default program", "associate file type or protocol with the program" two options. When we click "Set Default Program" (Figure 3), we will see that there are multiple Web browsers installed on my test machine. Let's take the browser as an example


. When we select Internet Explorer, two options appear on the right side of the window, "Set this program as default" and "Choose the default value for this program." This gives us two options. If we choose "Set this program as default", the system will automatically open Internet Explorer or the program of your choice to open all file types and protocols that can be opened by default. Then if we choose "Choose the default value of this program", it will enter the next interface (Figure 4), which will list the file types and protocols supported by the program by default. We can set the program that Windows uses by default according to its needs. Above we introduced how to set the default file type and protocol for opening the program, then let's look at how to associate to the program according to different file types. We still find the "default program" in the "Start" menu, this time we choose the second item, "Associate the file type or protocol with the program" will enter the settings interface (Figure 5). We modify the method by modifying *.mp3 as an example: first select the item ".mp3" to be modified, and the default program that is currently open for this file type is displayed. After selecting, click the "Change Program" button in the upper right corner in the program list. Select the appropriate program. If you do not find the required program, you can click "Browse" to manually determine. After all the modifications are completed, click "OK" to end. At this point, we have set up the program to associate with the file type and protocol in two ways. This way, if we install the software or the default values ​​are modified, we can set it according to our own usage habits. It should be noted here that if you have multiple accounts on your computer, the above settings will only modify your own account and will not affect other accounts on your computer.

Copyright © Windows knowledge All Rights Reserved