• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 301 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.
  • C
    Claudia Svenson
    last edited by Claudia Svenson Sep 23, 2020, 6:34 AM Sep 23, 2020, 6:33 AM

    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
    • A
      Alan Kilborn
      last edited by Alan Kilborn Sep 23, 2020, 12:12 PM Sep 23, 2020, 12:11 PM

      @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
      • C
        Claudia Svenson
        last edited by Sep 24, 2020, 5:56 AM

        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
        • A
          ArkadiuszMichalski
          last edited by Sep 24, 2020, 10:47 AM

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

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