Notepad++ does not remember last used directory



  • I posted this question about 5 years ago in old forums, this problem still exists years later, Notepad++ always starts with c/programfiles/notepad++ directory, when you click OPEN to open a file it always opens from there after restarting Notepad++



  • @Admin-Email

    yes, you are absolutely correct.

    the default file > open... behaviour is as follows:

    • if no file is loaded, and you just see a “new 1” tab, the path will be set to the folder where your notepad++.exe resides in, as this “new 1” tab does not have any save location yet.

    • if one or more saved files are already opened, the default “open” path will be set to the document path of the active tab.

    as a workaround, you can enable sessions, so notepad++ will remember your previously opened files, and keep one or more documents, which reside at your favourite location(s) as opened tabs.

    once you click on those tabs, and then click on “open” at the file menu or the tollbar icon, the “open” dialogue will present you with the same path as your “template” tab.



  • This bug needs to be fixed.



  • @Admin-Email

    it is less a bug than a design feature.

    i personally like this feature. notepad++ does not present you with the last open file location, but if you click on another opened tab, which might be part of a project, and then click on open, it will automatically suggest the same folder of the active tab, which is much faster when switching between projects, than having the last opened file location as default, and then having to browse again to the folder you currently need.

    we, at the community, can only help you, by trying to teach how notepad++ is intended to be used.

    if you still would like to report this as a bug, please read and try to understand our community’s official guide on how to do that, by following this link:
    >>> FAQ Desk: Feature Request or Bug Report <<<



  • @Admin-Email said:

    This bug needs to be fixed.

    Agree with @Meta-Chuh … there is no bug here.


Log in to reply