file associations // open with



  • How do I easily set the file associations for this program? The file association menu does not seem to do anything except show what files it supports. Only option is close. Moving extensions from supported to registered does nothing. Doing each file type with windows is a pain when having to set up a new PC.

    Also certain files do not even open correctly. .Log files open to blank document. I have to [right click --> edit with notepad++] to get it to actually show the file contents.



  • @bub-xyz

    May I ask which npp version (see ? menu->debug info) you use
    and with which operating system? Are you doing this as a normal user
    or administrator?
    How do you open the files? Double click or via open file menu?

    Cheers
    Claudia



  • @Claudia-Frank

    7.3.1 (32 bit)
    Windows 7
    Logged in as admin

    OK, forget about the .log problem. I think I broke it using Ftype/cmd prompt, but I fixed it using the registry.

    I would still like to know what the file associations in preferences is for if it is not to set the filetypes up? I am just looking for an easier way to get npp to open all the files it can without having to set them all manually using windows.

    Notepad++ v7.3.1 (32-bit)
    Build time : Jan 17 2017 - 00:21:10
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 7
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll



  • @bub-xyz

    you are correct, the file associations in preferences is for registering
    file extensions to notepad++ app.

    Are you sure you started npp as administrator and did the registration?
    It shows the administrator text in the window title.

    I do have latest npp installed and for me it is working, but I’m running
    notepad++ on linux under wine.

    If you want to retest I would suggest you use an extension which is uncommon,
    something like nppX4 or whatever. Once you added the extension open regedit
    and check the default value on the .nppX4 key which is directly under HKCR.

    What does it show?

    If it doesn’t work - can you explain the steps you do exactly?
    Maybe with a screenshot? (to add a screenshot to you post
    you need to upload it to one of the image hosters like imgur
    and then reference it using the syntax

    ![text_to_display_if_wanted](link_to_the_image)
    

    Cheers
    Claudia



  • @Claudia-Frank

    Running npp as admin worked. I have never set it up that way and did not know. Thanks for your help :)


Log in to reply