> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/pdfm-ug/v26-zh-tw/parallels-desktop-for-mac-26-shi-yong-zhi-nan/zai-mac-shang-shi-yong-windows/she-ding-windows-ru-he-shi-yong-macos/zai-macos-yu-windows-zhi-jian-gong-yong-xiang-mu/jiang-dang-an-she-wei-zai-nin-suo-xuan-de-ying-yong-cheng-shi-huo-ying-yong-cheng-shi-zhong-kai-qi.md).

# 將檔案設為在您所選的應用程式或應用程式中開啟

您可以將您從 macOS Finder 中開啟的特定類型的檔設定為以您選擇的 Windows 應用程式開啟。例如，您可以將尾碼為 `.txt` 的檔設定為總是用 Windows 的記事本來開啟。

您也可以將從 Windows 中打開的檔設定為總是以您選擇的 macOS 應用程式打開。

{% hint style="info" %}
**附註**：Parallels Desktop App Store Edition 不支援此功能。如需 Standard Edition 和 App Store Edition 差異的詳細資訊，請前往此[連結](https://kb.parallels.com/123796)。
{% endhint %}

### **將特定類型的 macOS 檔設定為在 Windows 應用程式中開啟**

如何使用 Windows 應用程式一次開啟 macOS 檔：

1. 在 Finder 中以滑鼠右鍵按一下 (或按住 Control 鍵按一下) 檔並從快顯功能表中選擇「**開啟方式**」。
2. 選擇一個 Windows 應用程式。

   如果看不見您需要的應用程式，請按一下「**其他**」，並從 `/username/Applications (Parallels)/Windows Applications` 選擇 Windows 應用程式。

您還可通過拖拽到 Dock 中的應用程式圖示在 Windows 應用程式中打開一個 macOS 檔。

如何將特定類型的檔設定為總是以 Windows 應用程式開啟：

1. 按一下滑鼠右鍵 (或按住 Control 鍵按一下) 檔並從快顯功能表中選擇「**簡介**」。
2. 按一下「開啟方式」旁邊的三角來擴展該部分。
3. 從下拉式功能表中選定一個 Windows 應用程式。

   如果看不見您需要的應用程式，請選擇「**其他**」，並從 `/username/Applications (Parallels)/Windows Applications` 選擇 Windows 應用程式。
4. 按一下「**全部變更**」。

今後，在 macOS Finder 中連按兩下此類型的檔案 (上述範例中的 `.txt`)，將會在 Windows 應用程式中開啟該檔案。如果 Windows 已被關閉、中止或暫停，按兩下該文件將在融合 (Coherence) 模式中啟動或恢復 Windows。當 Windows 啟動後，檔將在該 Windows 應用程式中打開。

### **將特定類型的 Windows 檔設定為在 macOS 應用程式中開啟**

如何透過 macOS 應用程式打開 Windows 檔 (僅這一次)：

* 在 Windows 中以滑鼠右鍵按一下 (或按住 Control 鍵按一下) 檔案，從快顯功能表中選擇「**開啟方式**」，然後選擇應用程式。

如何將特定類型的所有檔設定為以 macOS 應用程式打開：

1. 在 Windows 中以滑鼠右鍵按一下 (或按住 Control 鍵按一下) 檔案，從快顯功能表中選擇「**開啟方式**」，然後按一下「**選擇預設應用程式**」。
2. 選取一個應用程式，選擇「**永遠用選取的應用程式來開啟這種檔案**」，然後按一下「**確定**」。

{% hint style="info" %}
**附註：**&#x82E5;要將檔案設為在您所選的應用程式或應用程式中開啟，必須安裝 Parallels Tools。在大多數情況下，Parallels Tools 預設為已安裝。此外，必須停用[**隔離 Mac 與 Windows**](/landing/pdfm-ug/v26-zh-tw/parallels-desktop-for-mac-26-shi-yong-zhi-nan/zai-mac-shang-shi-yong-windows/bao-hu-nin-de-zi-liao/jiang-windows-yu-mac-ge-li.md) 選項，而且必須啟用 [Windows 應用程式共用](/landing/pdfm-ug/v26-zh-tw/parallels-desktop-for-mac-26-shi-yong-zhi-nan/zai-mac-shang-shi-yong-windows/she-ding-windows-ru-he-shi-yong-macos/zai-macos-yu-windows-zhi-jian-gong-yong-xiang-mu/gong-yong-ying-yong-cheng-shi.md)。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/pdfm-ug/v26-zh-tw/parallels-desktop-for-mac-26-shi-yong-zhi-nan/zai-mac-shang-shi-yong-windows/she-ding-windows-ru-he-shi-yong-macos/zai-macos-yu-windows-zhi-jian-gong-yong-xiang-mu/jiang-dang-an-she-wei-zai-nin-suo-xuan-de-ying-yong-cheng-shi-huo-ying-yong-cheng-shi-zhong-kai-qi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
