Community
    • Login

    Exit NP++ (tab) from cmdline (even there is unsaved, changed content)?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 575 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.
    • Claudia SvensonC Offline
      Claudia Svenson
      last edited by Claudia Svenson

      Is it possible to exit Notepad++ from command line?

      How can I enforce from command line an Exit even there is an unsaved content?
      When I exit via GUI always a popup appears asking me if I really want to exit anyway without saving.
      A cmdline exit should ignore this prompt and always sasume automatically YES

      Advanced related question:
      Is it possible to cmdline exit only a certain Notepad++ tab with e.g. the tab label “foobar,txt”?

      Claudia

      1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn
        last edited by Alan Kilborn

        @Claudia-Svenson said in Exit NP++ (tab) from cmdline (even there is unsaved, changed content)?:

        How can I enforce from command line an Exit…?

        Maybe I’m missing something, but how can you exit a running Notepad++ by issuing a command line?

        Or maybe that is the question, disregarding saved/unsaved content for now?

        1 Reply Last reply Reply Quote 1
        • Claudia SvensonC Offline
          Claudia Svenson
          last edited by

          In detail there are four questions:

          1.) How to exit NP++ from cmdline
          2.) How to exit NP++ from cmdline disregarding possibly unsaved content
          3.) How to close only tab “foobar.txt” in NP++ from cmdline
          4.) How to close only tab “foobar.txt” in NP++ from cmdline disregarding possibly unsaved content

          1 Reply Last reply Reply Quote 0
          • ArkadiuszMichalskiA Offline
            ArkadiuszMichalski
            last edited by

            https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8484 << bug for close.

            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