Where does the ProgId and ApplicationName below come from? How can I query for these specific fields to make my own file association xml file?
You can get this file by running
Dism.exe /online /Export-DefaultAppAssociations:C:\Temp\DefaultApps.xml
<Association Identifier=".html" ProgId="ChromeHtml" ApplicationName="Google Chrome" />
<Association Identifier=".ico" ProgId="PBrush" ApplicationName="Paint" />
<Association Identifier=".md" ProgId="Applications\notepad.exe" ApplicationName="Notepad" />
For example what is "ChromeHtml"? Where can I retreive this ProgId?
What is "Applications\notepad.exe"? <----this is not a path I can navigate too. Isn't notepad.exe in system32?