View Categories

How do I change the default program for a specific file type using the command prompt?

< 1 min read

To change the default program used to open a specific file type, follow these steps:


  1. Open Command Prompt.
  2. Type in assoc, followed by a space and then the file type you want to change the default program of (e.g. assoc .txt).
  3. Type in ftype, followed by a space and then the same file type followed by a = sign and the file path to the program that you want to use as a default to open that file type. (e.g. ftype .txt = notepad.exe).

Powered by BetterDocs