Automatically create folders when opening a new file



  • When I try to create a new file in a folder that doesn’t exist, Notepad++ gives up with an error message. Is there a way to have Notepad++ create this folder (or multiple folders recursively if needed), or at least ask me if I want to create these folders?



  • welcome to the notepad++ community, @raisen

    please go to settings > preferences > default directory and activate use new style dialog as seen at the screenshot below:

    Imgur

    after that, if you save a new file, or if you choose save as, you will have a new folder button, to create a new folder, if it does not exist, as seen at the next screenshot:

    Imgur

    best regards.


Log in to reply