Please tell me how to fix it.



  • When I open a text file saved with notepad ++, it opens with default Notepad instead of notepad ++. So I’m so uncomfortable. Please tell me how to fix it.



  • @Hanul-Kim

    you need to assign the file extension to notepad++ application by either using
    the npp menu settings->preferences->file associations and use one of the predefined
    extensions (if applicable) or define a custom one. Or right click on the file and select
    open with, select npp and check the box always open …

    Cheers
    Claudia



  • @Claudia-Frank

    I already have applied both methods, but opening a file open a new note, not a saved note. I don’t know what problem…



  • @Hanul-Kim

    Can you explain step by step what you exactly do?

    Cheers
    Claudia



  • @Claudia-Frank

    I’m not good at English, so I’ll write simply. I hope you understand me.
    I used two way that you said.
    First, I right-clicked on the file, selected ‘open with select notepad++’ and checked the box always open.
    Next I opened the file was saved my data using notepad++, new note was opened instead of my file.(My file wasn’t opened.)
    And even though I have set notepad ++ to open a txt file, when I double-clicked my file, file was opened with default notepad.
    So I clicked the menu settings -> preferences -> file association -> supported extensions and registered extensions (.txt and .log).
    But still new note was opened instead of my file.



  • @Hanul-Kim

    ok, understood.
    It looks like we do have two issue.

    1. The file extension registration failure and
    2. opening of a new file instead of the one you are expecting.

    Question for 2)
    Could it be that your file is saved somewhere under system32?
    And you are using npp 32bit?
    Please provide the debug output from menu ?->debug info

    Assumption for 1)
    You don’t have the proper rights to do the file extension assignment.
    Is this your work pc or your home pc? Did you try running as administrator?

    Cheers
    Claudia



  • @Claudia-Frank

    I confirmed it according to your advice, I used npp 32bit.
    My computer system was operated 64bit. So I installed npp 64bit from the official website, my file was opened when I clicked ‘edit with notepad++’ button.
    However, after registering the Notepad extension (.txt, .log), the file extension was disappeared when I re-run npp.
    I always have run as administrator using my work pc, here is debug output.

    Notepad++ v7.3 (64-bit)
    Build time : Jan 1 2017 - 20:02:37
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 7
    Plugins : mimeTools.dll NppConverter.dll

    Thank you for your help :D



  • @Hanul-Kim

    I can’t remember if this is normal or not and as I currently do not use
    a windows operating system I cannot test this.
    Do the files open with npp if you double click in explorer?
    If yes, everything seems to be ok.
    If not, give it a try to register extension by using right-click and check the box open always…

    In regards to the 32bit vs. 64bit npp version.
    You can use both versions even on a 64 bit Windows 7.
    Each version has its advantage and its disadvantage.

    Using the 64bit version eliminates the problem with file system redirection
    but disadvantage is that, currently, not many plugins are available.

    Using the 32bit version on a 64 bit operating system can cause problems
    if you want to open files which are available as 32bit and 64bit version.
    (https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187(v=vs.85).aspx)
    Advantage, many many plugins which enhances npp functionality are available.

    So, if you do not use plugins - stay with the 64bit version.

    Cheers
    Claudia


Log in to reply