Windows – How to associate all unknown file types with notepad++

file associationnotepadwindows

I work alot with billing and files the bank etc. send me files that have date extensions or some counter as an extension:

eg file1.20110315 or file2.123

So the extension changes every time I receive another file.

Is it possible to associate all file types that end in numbers or if not any unknown file types with notepad(++)?

Thanks

Best Answer

You can edit the openas command of the Unknown type, i.e.

HKEY_CLASSES_ROOT\Unknown\shell\openas\command.

Alternatively, you can add a new command if you want to keep the Open As command.

If you want to make Open with Notepad++ the default, edit the default value of the HKEY_CLASSES_ROOT\Unknown\shell subkey.

Related Question