Skip to content

Make XML Notepad your default XML editor on Windows 10

Chris Lovett edited this page May 30, 2020 · 1 revision

First you need to find where xmlnotepad lives on your machine, you can do that by launching it, run Task Manager, click "Details" tab, find xmlnotepad in the list, right click to bring up the Properties and copy the full location text, which is something like this:

C:\Users\Chris\AppData\Local\Apps\2.0\60MPBT3D.ELV\H2QGHQ42.AJQ\xmln..tion_ab3ea86545595e2b_0002.0008_ab38540bc49376db

Then run regedit and open HKEY_CLASSES_ROOT, then "xmlfile" and edit the "shell", "open" "command" so that the default string is:

"C:\Users\Chris\AppData\Local\Apps\2.0\60MPBT3D.ELV\H2QGHQ42.AJQ\xmln..tion_ab3ea86545595e2b_0002.0008_ab38540bc49376db\xmlnotepad.exe" %1

And now "xmlnotepad" shows up in the OpenWith list when you right click and XML file:

image

and this means you can use this menu to also make it the default, by selecting "Choose another app" and choose: image

And check the box "Always use this app to open .xml files".

Clone this wiki locally