Next, find the absolute path to the EXE of the app you want to associate with the file type. In the screenshot below, the file type that the command has returned is “htmlfile”. This result is what you need to execute the command to set a file app association. This command will return the file type that the file is. Open Command Prompt with administrative rights and run the following command in it. On the General tab, you will see a ‘Type of File’ section that tells you what the file’s extension is.
Right-click the file and select Properties from the context menu. This is easy enough open File Explorer to the location with the file in it. The first thing you need to do is find the file extension for the file that you want to set a default app for. In order to set a file app association from the Command Prompt, you need administrative rights. SPOILER ALERT: Scroll down and watch the video tutorial at the end of this article. If that’s the case, you can always set a file app association from Command Prompt.
Of course, app defaults often reset and sometimes they fail to set altogether. In some cases, e.g., with your browser, it will relentlessly try and push Edge as a superior option but with other file types and apps you don’t run into much resistance.
Change file extension windows 10 windows 10#
Windows 10 allows you to set any app of your choice as the default app to open a certain type of file.