Community
    • Login

    Closing all tabs prior to starting editor

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 8.2k Views 2 Watching
    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.
    • Jason CJ Offline
      Jason C
      last edited by

      I opened a couple of massive text files with extremely long lines that are crushing Notepad++ (to the point of unusable, had to kill it).

      I also have it set to automatically open previously opened documents on start.

      So now I’m kind of stuck. Is there a way (hacky or not) to erase the list of previously opened documents from outside of Notepad++ prior to starting it? Windows 7.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Jason C
        last edited by

        @Jason-C

        start npp with the -nosession command line parameter

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • John PilgeJ Offline
          John Pilge
          last edited by

          If you are not familiar with DOS command line:
          Click on the start icon and type “Command” in the search.
          Click on Command Line. (A program atop your list.)
          In the command line type:
          cd
          This will get you to the C: prompt.
          then type:
          cd Program Files (x86)\Notepad++
          Then type:
          notepad++ -nosession

          John PilgeJ 1 Reply Last reply Reply Quote 0
          • John PilgeJ Offline
            John Pilge @John Pilge
            last edited by

            That should be
            cd\

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors