Comment ouvrir fichier tapez avec Notepad Legacy in Windows 11

J’ai installé Windows 11 sur mon PC but excluded the nouveau UWP Notepad app.

Though it supports dark theme, it has ridiculously varied-spaced characters (same words on different lines having different widths).

I decided to use Legacy Notepad to open fichiers but cannot find a way to définissez le app as the par défaut to open these fichiers, as Notepad n’est pas showed dans le Open Avec dialog.

Ouvrez le fichiers avec the Notepad.exe in Windows, system32, or other paths show the erreur “The programme you have sélectionné cannot be associated avec this fichier type. Veuillez choose another programme.”

J’ai tried using cmd assoc .json=txtfile or assoc .json=txtfilelegacy but none work, too.

Updated answer:

Après diving invers le change made by the tool, J’ai trouvé that the String NoOpenWith (no data) is supprimé depuis le Registry clé:

HKEY_LOCAL_MACHINE\Software\Classes\Applications\notepad.exe

Old answer:

OK so J’ai trouvé the solution.

Télécharger OpenWithView by Nirsoft.

Legacy Notepad sera listed sur le tool.

Faites un clic droit the app and choose Activer Selected Items and vous êtes all set.

Maintenant Notepad will show dans le Open avec Dialog.