You want double-clicking meeting-notes.docx to open your preferred editor, while your PDFs keep opening in the usual viewer. Set the default for the DOCX file type and test both formats afterward.

Change the DOCX association on your system

In Windows, open Settings → Apps → Default apps. Search for .docx, select that file type, then choose the editor from the available apps.

Windows Default apps is filtered to .docx before an editor is chosen.

Illustrated Windows setting. Start with the extension you intend to change.

On a Mac, select a DOCX in Finder and choose File → Get Info. Expand Open with, pick the editor, and choose Change All. For a one-time opening, use Open With from the file’s context menu instead.

Finder Get Info shows Open with and Change All for a selected DOCX.

Illustrated Mac setting. Confirm the selected file type before applying the default.

Test one DOCX and one PDF

Close the files, then double-click the DOCX in Explorer or Finder and check the app name. Double-click a PDF separately and confirm it still opens in the expected viewer. If your editor is missing from the list, confirm it is installed and can open a DOCX directly.

Microsoft’s default apps instructions · Apple’s Open with instructions