Auto open file at startup?



  • Whenever I open any txt file or start notepad++, I need it to open some other txt files. Is this somehow possible?



  • You can open many files in different tabs of npp, and the yautomatically open each time you open npp.

    What issue are you facing.

    If it is same set (same name location) of files, you can save the names in “session” and load session next time. but that is more useful in a fresh install of npp, because npp already opens all files that were open the last time.

    Thanks.



  • If I close a file, I does not get opened next time I start npp. How to force to open certain files each time npp opens.?



  • @Özgür-Erdoğan

    you can enable “session snapshot” in: settings > preferences > backup.
    enable “remember current session for next launch” and “enable session snapshot and periodic backup” as seen in the screenshot below.

    from now on notepad++ will remember your previously opened files and it will also make a temporary backup of all unsaved files.

    Imgur



  • @Özgür-Erdoğan said:

    If I close a file, I does not get opened next time I start npp. How to force to open certain files each time npp opens.?

    don’t close the file. save it, and let it remain open in npp. it will automatically open next time you run npp.

    or you can see in Menu - File - Recent files.

    Thanks.


Log in to reply