• Login
Community
  • Login

Auto open file at startup?

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 4.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Ö
    Özgür Erdoğan
    last edited by Jan 13, 2019, 8:36 AM

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

    1 Reply Last reply Reply Quote 1
    • V
      V S Rawat
      last edited by Jan 13, 2019, 9:59 AM

      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.

      1 Reply Last reply Reply Quote 1
      • Ö
        Özgür Erdoğan
        last edited by Jan 14, 2019, 7:37 AM

        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.?

        M V 2 Replies Last reply Jan 14, 2019, 9:53 AM Reply Quote 0
        • M
          Meta Chuh moderator @Özgür Erdoğan
          last edited by Jan 14, 2019, 9:53 AM

          @Ö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

          1 Reply Last reply Reply Quote 1
          • V
            V S Rawat @Özgür Erdoğan
            last edited by Jan 14, 2019, 4:33 PM

            @Ö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.

            1 Reply Last reply Reply Quote 1
            4 out of 5
            • First post
              4/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors