how to change which program opens a file

How to Choose Default Program for Specific File Types

By Melissa Miller
AD

Have you ever downloaded a file, only to find that your computer tries to open it with the wrong program? You're not alone. Many file types, like PDFs or Word documents, can be opened by multiple programs, and your computer guesses based on its default settings. But what if you prefer to use a different application to open a specific file type? It's easy to change, and here's a comprehensive guide on how to do it.

Understanding how your computer chooses default applications is key to changing them. Windows, macOS, and even Linux-based systems like Ubuntu each have their own ways of handling file associations. Let's explore how to change these settings in each operating system.

Windows

Windows allows you to change your default apps directly from the right-click context menu.

AD
How to Optimize Windows 11 File Explorer (Speed & Layout Fixes)
How to Optimize Windows 11 File Explorer (Speed & Layout Fixes)
Opening a File with a Program Other than the Default (Tips.Net)
Opening a File with a Program Other than the Default (Tips.Net)
How to Change a File Extension in Windows
How to Change a File Extension in Windows

Here's how to do it:

Change Default App for a Specific File Type

1. Right-click on the file and select 'Open with' -> 'Choose another app'.

Guide to Fixing the “Users Folder Taking Space in C” Issue
Guide to Fixing the “Users Folder Taking Space in C” Issue
How to Change the Default Program for Any File on Windows
How to Change the Default Program for Any File on Windows
How to change Windows 10's default photo viewer?
How to change Windows 10's default photo viewer?

2. From the list, select the application you prefer, or click 'More apps' to find it.

Set Default App for All Files

1. Open the 'Settings' app, then click on 'Apps'.

AD

2. Click on 'Default Apps', then under 'Set defaults by file type', select the file type you want to change, and choose your preferred application.

Top 9 Ways to Fix Unable to Change Default Programs in Windows 10
Top 9 Ways to Fix Unable to Change Default Programs in Windows 10
How to Prompt user to open Word Document in read only mode.
How to Prompt user to open Word Document in read only mode.
"Default Programs Editor" free software that allows easy assignment of software to start up and change icons
"Default Programs Editor" free software that allows easy assignment of software to start up and change icons
How To - One Click Or Two | Daves Computer Tips
How To - One Click Or Two | Daves Computer Tips
8 Ways to Fix ‘File Is Open in Another Program’ Error in Windows
8 Ways to Fix ‘File Is Open in Another Program’ Error in Windows
How to Open File Location on Windows 11 if it's Missing
How to Open File Location on Windows 11 if it's Missing

macOS

macOS also lets you change default apps, but it requires a bit more navigation.

Here's how:

AD

Change Default App for a Specific File Type

1. In Finder, select a file of the type you want to change.

How To Change File Associations in OS X
How To Change File Associations in OS X
3 Ways to Change File Type (Extension) on Windows 11
3 Ways to Change File Type (Extension) on Windows 11
How to change the folder icon?
How to change the folder icon?

2. Go to 'File' in the menu, then 'Get Info (i)'

3. Under 'Open with', choose the app you want to use, then click 'Change All' to make it the default for that file type.

AD

Set Default App for All Files

1. Open the 'System Preferences' app, then click on 'General'.

2. Under 'Default apps', select the file type and choose your preferred application.

Linux (Ubuntu)

Ubuntu handles default apps slightly differently. It uses a MIME database to associate file types with applications.

Here's how to change them:

Change Default App for a Specific File Type

1. Install the 'Mime Type Editor' app from the Ubuntu Software Center.

2. Open the app, then search for the file type you want to change. Select it, and under 'Open With', choose your preferred application.

Change Default App for All Files

1. Open the 'Settings' app, then click on 'Details' (or go to 'Details' in the system menu).

2. Click on 'Default Applications', then select the file type and your preferred application.

Remember, these changes will only affect new files. If you've already opened a file with another application, it might not automatically switch to your new default. To remedy this, just right-click the file and select 'Open with', then choose your preferred application.

Next time you download a file, your computer should open it with the correct program, making your workflow smoother and more efficient. Happy computing!

AD