Community
    • Login

    FIle associations for all supported file types

    Scheduled Pinned Locked Moved General Discussion
    associationsfile type
    2 Posts 2 Posters 2.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Petr DemuthP Offline
      Petr Demuth
      last edited by

      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.

      Cheers

      1 Reply Last reply Reply Quote 0
      • AZJIO AZJIOA Offline
        AZJIO AZJIO
        last edited by

        I adjust by means of these programs
        http://azjio.ucoz.ru/load/vsjo_dlja_autoit3/skompilirovannye_skripty/assotiations/4-1-0-10
        You throw a notepad++ in the program and it registers files

        http://azjio.ucoz.ru/load/vsjo_dlja_autoit3/skompilirovannye_skripty/contmenu/4-1-0-34
        Make the data export to a reg-file

        CMD-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

        ======================================================================

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors