Community
    • Login

    Same NPP executable run on multiple PC : need their own sessions

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 241 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.
    • Gian MatteoG
      Gian Matteo
      last edited by

      I have a Dropbox folder shared among three computers.

      That said, on each of these computers I launch the same NPP executable.

      I would like to have each computer remembering (say saving) its own session on NPP close.

      I have tried both through the command line parameter -openSession and NppSessionMgr but it seems there is no way to get it.

      Please tell me I can achieve that in some way.

      Thanks a lot
      Gin

      Alan KilbornA mkupperM 2 Replies Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @Gian Matteo
        last edited by

        @Gian-Matteo said in Same NPP executable run on multiple PC : need their own sessions:

        I have a Dropbox folder shared among three computers.

        What’s important to N++ that is in this shared Dropbox folder?

        …I launch the same NPP executable.

        So presumably you have a “portable” N++ in the shared folder?

        Is your session.xml file part of the shared folder content, i.e., are you running with a “local” configuration?

        I’d think that if you weren’t running with a “local” config, i.e., your settings are stored in %appdata%\Notepad++, that each computer is NOT sharing %appdata% information, and you’d be all set and independent.

        But you say this is not the case, so I think you’d need to provide some more detail in order for someone to help.

        1 Reply Last reply Reply Quote 3
        • mkupperM
          mkupper @Gian Matteo
          last edited by

          @Gian-Matteo - Try experimenting with Notepad++'s -settingsDir command line option. If you point it at a folder that is not shared with the other computers then it will be in it’s own session.

          Keep in mind that Notepad++ reads its configuration and session files when it starts and writes then back out when you exit or close Notepad++. Thus, you will need to move and think carefully when testing out and using more than one copy of Notepad++ at the same time either on the same or different machines.

          It is likely possible* to do what you want to do but you have not provided enough information about how you are currently set up for others to provide suggestions that may be a better fit for your situation or desires.

          * I had to add an asterisk as there is one issue you may run into which is Notepad++ does not have perfect support for running two or more instances of Notepad++ on the same machine at the same time.

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