您 PC 上的每个文件都有一个程序可以打开它。如果未安装该软件,您的系统会告诉您,并询问有关应尝试使用什么软件打开它的说明。Windows、macOS 和其他平台将某些文件扩展名与默认程序匹配。如果软件不存在,则无法打开文件。
这就是如果您安装了Microsoft Office,当您尝试打开DOCX文件时会打开Microsoft Word的原因。如果您希望在其他程序(如LibreOffice )中打开该文件,则需要更改Windows 10或 macOS 中该文件类型的默认程序。
如何在 Windows 10 中更改默认程序(How To Change Default Program in Windows 10)
在Windows 10(Windows 10)中更改文件关联非常容易,您可以通过多种方式进行更改。
- 如果您希望更改Windows 10中的默认程序,并且您的驱动器上有一个文件格式相同的文件,您可以通过右键单击(right-clicking )Windows 文件资源管理器(Windows File Explorer)(或您的桌面),将鼠标悬停在打开方式(Open with)菜单上,然后单击选择另一个应用程序(Choose another app)选项。
- 在你想如何打开这个文件?(How do you want to open this file? )选择窗口,Windows将自动尝试识别您安装的可能与该文件一起使用的软件。要查看 PC 上已安装软件的完整列表,请单击列表底部的更多应用选项,或(More apps)在 Microsoft Store 中查找应用(Look for an app in the Microsoft Store )以搜索能够在Microsoft Store中打开它的软件。
- 选择正确的软件后,单击以启用始终使用此应用打开(Always use this app to open )复选框,以确保您选择的软件始终打开该文件类型。单击(Click) 确定(OK)以打开文件并将Windows用于此文件类型的默认程序更改为您选择的应用程序。
某些类型的软件,例如网络浏览器,通常不用于在您的 PC 上打开文件,因此很难使用上述方法更改默认程序。您可能还在寻找一种同时更改多种文件类型的方法,例如,如果您要更改 PC 上的默认媒体播放器,您可能会这样做。
在这两种情况下,您都需要在Windows 设置(Windows Settings)菜单中更改文件或 Web 协议的默认程序。
- 为此,请右键单击(right-click )Windows 开始(Windows Start)菜单并按设置(Settings)选项。在设置(Settings)菜单中,单击Apps > Default apps。这将显示您可能使用的一些更常用程序的列表,例如您的网络浏览器或电子邮件客户端(email client)。
- 要更改其中任何一项,请单击其中一个选项并选择一个替换项。例如,单击Web 浏览器(Web browser)选项将使您可以选择Microsoft Edge、Internet Explorer或您可能已安装的第三方浏览器,例如Google Chrome。您也可以单击在 Microsoft Store 中查找应用程序(Look for an app in the Microsoft Store)来搜索替代安装。
- 然而,这里只列出了一些潜在的程序。要按关联文件类型更改Windows使用的所有默认程序,请按“默认应用”菜单中的“按文件类型(Choose default apps by file type)选择默认应用(Default apps)”选项。或者,例如,按“按协议选择默认应用程序”(Choose default apps by protocol)以更改 Web URL(URLs)的关联。
- Windows 将在下一个菜单中显示一长串已知文件类型。要更改其中任何一项,请单击该类型的已知选项,然后从出现在选择应用程序(Choose an app)菜单中的列表中进行选择。如果没有应用现有的默认应用程序,请单击选择默认值(Choose a default)并选择一个选项。对于未安装已知软件的文件类型,请单击在 Microsoft Store 中查找应用程序以(Look for an app in the Microsoft Store)获取潜在替代方案。
- 您所做的任何更改都将立即应用。如果您以后需要重置这些默认程序设置,请返回默认应用程序(Default apps )菜单并单击重置(Reset )按钮。
如何在 macOS 中更改默认程序(How To Change Default Program in macOS)
如果您想更改Mac上的默认程序,您需要一个文件格式为您要打开的文件。
- 首先,打开Finder应用程序并找到文件的位置。要更改该文件类型的文件关联,请右键单击(right-click)该文件,然后按Open With > Other。
- Finder将要求您选择要用于打开该文件的应用程序。从“应用程序”菜单中(Applications)选择(Select)适当的应用程序,然后单击以启用“始终打开(Always Open With )方式”复选框,以确保将Mac上的默认程序更改为该应用程序。按打开(Open)打开文件并将您选择的程序保存为默认选项以在该过程中打开该文件类型。
- 您还可以通过右键单击(right-clicking)Finder 中的文件并单击“获取信息”(Get Info)选项来更改此设置。
- 在文件的“信息(Info)”窗口中,单击以打开“打开(Open With)方式”子类别。从这里,您可以选择一个新的应用程序来打开具有相同文件类型的文件。从菜单中选择(Select)一个替代应用程序,然后按“全部更改”(Change All)按钮将更改应用于具有相同文件类型的所有文件。
- 上述方法几乎适用于所有应用程序和文件类型,但您需要遵循不同的方法来更改macOS 上的默认网络浏览器。(default web browser)为此,请按菜单栏左上角的Apple 菜单图标,然后单击“(Apple menu icon)系统偏好设置”(System Preferences)选项。
- 在System Preferences中,单击General选项。在常规菜单中,从(General)默认 Web 浏览器(Default web browser)下拉菜单中选择备用 Web 浏览器。您所做的任何更改都将立即应用。
在 Windows 和 macOS 上替换旧软件(Replacing Old Software on Windows and macOS)
如果要更改Windows 10或 macOS 中的默认程序,则需要安装软件来替换它。您可以寻求用更新、更新的开源软件(open-source software)替代品替换过时的付费软件,这些替代品不会花费您任何安装或使用费用。
在 macOS 上替换旧软件有点棘手,因为您可能会发现您喜欢使用的软件的等效软件不存在,尤其是在您从Windows切换时。如果您遇到问题,您可能需要允许(allow unverified apps)安装未经验证的应用程序,但请确保您只安装来自您信任的来源的软件。
How to Change the Default Program to Open a File With
Every file on уour PC has a program out there to opеn it. If the software iѕn’t installed, your system will tеll yоu so, and will ask for instructionѕ on what software it ѕhould try to use to open it. Windows, macOS and other platforms matсh certain file extensions to default programs. If the software isn’t there, the files сan’t open.
That’s why Microsoft Word opens when you try to open a DOCX file if you have Microsoft Office installed. If you’d prefer to open that file in another program like LibreOffice instead, then you’ll need to change the default program in Windows 10 or macOS for that file type.
How To Change Default Program in Windows 10
Changing file associations in Windows 10 is pretty easy to do, and there are a couple of ways in which you can do it.
- If you’re looking to change a default program in Windows 10 and you have a file with the same file format on your drive, you can easily change the application that opens it by right-clicking the file in Windows File Explorer (or on your desktop), hovering over the Open with menu, and clicking the Choose another app option.
- In the How do you want to open this file? selection window, Windows will automatically attempt to identify software you have installed that may work with that file. To view a full list of installed software on your PC, click the More apps option at the bottom of the list, or Look for an app in the Microsoft Store to search for software capable of opening it in the Microsoft Store.
- Once you’ve selected the right software, click to enable the Always use this app to open checkbox to ensure that that software you’ve selected always opens that file type. Click OK to open the file and change the default program Windows uses for this file type to your selected app.
Some types of software, such as web browsers, aren’t usually used to open files on your PC, making it difficult to use the above method to change the default program. You may also be looking for a method to change multiple file types at once, which you may do if you’re changing the default media player on your PC, for instance.
In both cases, you’ll need to change the default program for your file or web protocol in the Windows Settings menu instead.
- To do this, right-click the Windows Start menu and press the Settings option. In the Settings menu, click Apps > Default apps. This will display a list of some of the more common programs you might use, such as your web browser or email client.
- To change any of these, click on one of the options and select a replacement. For instance, clicking the Web browser option will give you the option to select Microsoft Edge, Internet Explorer, or a third-party browser you may have installed like Google Chrome. You can also click Look for an app in the Microsoft Store to search for alternatives to install instead.
- Only a select number of potential programs are listed here, however. To change all of the default programs Windows uses by their associated file type, press the Choose default apps by file type option in the Default apps menu. Alternatively, press Choose default apps by protocol to change associations for web URLs, for instance.
- Windows will display a long list of known file types in the next menu. To change any of these, click on the known option for that type and select from the list that appears in the Choose an app menu. If there isn’t an existing default app applied, click Choose a default and select an option. For file types that have no known software installed, click Look for an app in the Microsoft Store for potential alternatives.
- Any changes you make will be applied immediately. If you need to reset these default program settings at a later date, return to the Default apps menu and click the Reset button.
How To Change Default Program in macOS
If you want to change the default program on a Mac, you’ll need a file in the file format you’re looking to open.
- To start, open the Finder app and find the location of your file. To change the file association for that file type, right-click the file, then press Open With > Other.
- Finder will ask you to select the app you’d like to use to open that file. Select an appropriate app from the Applications menu, then click to enable the Always Open With checkbox to make sure that you change the default program on Mac to that application. Press Open to open the file and save your selected program as the default option to open that file type in the process.
- You can also change this setting by right-clicking a file in Finder and clicking the Get Info option.
- In the Info window for your file, click to open the Open With subcategory. From here, you can select a new application to open files with the same file type. Select an alternative app from the menu, then press the Change All button to apply the change to all files with the same file type.
- The methods above will work for almost all apps and file types, but you’ll need to follow a different method to change the default web browser on macOS. To do this, press the Apple menu icon in the top-left area of the menu bar, then click the System Preferences option.
- In System Preferences, click the General option. In the General menu, select an alternative web browser from the Default web browser drop-down menu. Any changes you make will be applied immediately.
Replacing Old Software on Windows and macOS
If you want to change the default program in Windows 10 or macOS, you’ll need software installed to replace it. You could look to replace outdated paid software with newer, more up-to-date open-source software alternatives that won’t cost you anything to install or use.
Replacing older software on macOS is a little trickier, as you may find that equivalents to the software you’re happy using just doesn’t exist, especially if you’re switching from Windows. If you’re having trouble, you may need to allow unverified apps to install, but make sure that you only install software from sources you trust.