Menu

4.1.1 can't forget the last doc...

dewey1973
2007-05-18
2012-11-13
  • dewey1973

    dewey1973 - 2007-05-18

    Ever since I upgraded to 4.1.1 the last document is always opened when the application opens.  It doesn't matter how I set the "Remember the current session for next launch" setting.

     
    • Anonymous

      Anonymous - 2007-05-19

      Checking the setting and closing Notepad++ afterwards did the trick for me. The setting won't be checked when you start Notepad++ the next time, but it won't remember the last session either.
      (Worked the other way around too: If Notepad++ doesn't remember the last session, check the setting, close the application and when you restart it, the setting won't be checked but it will remember the last session.)

       
    • Nobody/Anonymous

      I confirm...

       
  • John Public

    John Public - 2010-07-06

    For future reference - anyone looking for a fix -(mine was remembering a 1 G file!)
    Ver 5.6.8
    The last file used is retained in the %AppData%\Notepad++\Session.xml file

    The line will have a filename="PATH\File"

    Set that parm to filename=""

    When you open the prog - clear out any other files -
    File>Save Settings
    CLOSE the program

    Open the program - Verify you have no file or location remembered
    - Settings>Preferences    On the Misc Tab put checkmark in "Remember current session for next launch"
    Close the program and open it

    NOW, to force it to ALWAYS open blank - go back in and UNCHECK the setting "Remember current session for next launch"
    and CLOSE the app.

    Now you will always open a new file ;)