You can change how files are opened by associating file extensions with specific programs. This means that whenever you double-click a file with a certain extension, the chosen program will automatically open it.
Here's how you can change file associations:
Windows
- Right-click on a file with the extension you want to change.
- Select "Open with" and then "Choose another app".
- Select the desired program from the list or browse for it.
- Check the "Always use this app to open .[extension]" box if you want to make this change permanent.
- Click "OK".
macOS
- Right-click on a file with the extension you want to change.
- Select "Get Info".
- Under "Open with", click the "Change All..." button.
- Select the desired program from the list.
- Click "Change".
Linux
- Right-click on a file with the extension you want to change.
- Select "Properties".
- Go to the "Open With" tab.
- Select the desired program from the list or browse for it.
- Click "Apply".
Example:
If you want to open .txt files with Notepad++, you can associate the .txt extension with Notepad++. After doing this, every time you double-click a .txt file, Notepad++ will open it.
Note:
- The specific steps may vary slightly depending on your operating system and version.
- You can also change file associations through your operating system's settings.