FIle associations for all supported file types

  • Hi guys,

    not sure where to log an Enhancement Request but I would like to ask you if it would be possible to add “Associate all know file type to N++”

    Quite often when I do re-installations of Windows or new installation I would nee to manually set all the file types which is annoying.


  • I adjust by means of these programs
    You throw a notepad++ in the program and it registers files
    Make the data export to a reg-file


    :: Cancellation of previous registration
    ::regsvr32.exe /u /s “%~dp0NppShell.dll”

    :: Setting a variable root directory
    SET Path=%~dp0
    SET Path=%Path:~0,-1%

    regedit /s “%Path%\notepad_reg.reg”

    :: Register NppShell.dll for the context menu
    regsvr32.exe /s “%Path%\NppShell_05.dll”

    :: Associations
    Reg.exe add “HKCR\txtfile\shell\open\command” /v “” /t REG_SZ /d “”%Path%\notepad++.exe" “%%1"” /f
    Reg.exe add “HKCR\phpfile\Shell\Open\Command” /v “” /t REG_SZ /d “”%Path%\notepad++.exe" “%%1"” /f
    Reg.exe add “HKCR\inifile\shell\open\command” /v “” /t REG_SZ /d “”%Path%\notepad++.exe" “%%1"” /f
    Reg.exe add “HKCR\inffile\shell\open\command” /v “” /t REG_SZ /d “”%Path%\notepad++.exe" “%%1"” /f

    :: Change the text of the item in context menu
    Reg.exe add “HKCR*\shellex\ContextMenuHandlers\Notepad++” /v “” /t REG_SZ /d “{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}” /f
    Reg.exe add “HKCR\CLSID{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}\Settings” /v “Title” /t REG_SZ /d “&Notepad++” /f

    :: View HTML code
    Reg.exe add “HKLM\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name” /v “” /t REG_SZ /d “%Path%\nppIExplorerShell.exe” /f


Log in to reply