Community
    • Login

    How to save new (!) documents always in D:\data\ ? (And not in most recent directory)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    9 Posts 4 Posters 187 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
      Claudia Svenson
      last edited by

      Assume I create a new (!) file and write something into it.

      Then I want to save it into the directory D:\data
      So I click on menu
      File—>Save as…
      and the windows 10 file selection dialog shows me either the most recently used directory are a completely arbitrary directory.

      I have to navigate with a dozend of clicks to the desired target directory
      D:\data
      very uncomfortable and annoying.

      How can I tell NP++ to ALWAYS offer me as default save directory D:\data\

      Of course if I load an existing file and edit something then the source directory should be offered at first.

      Alan KilbornA CoisesC 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Claudia Svenson
        last edited by Alan Kilborn

        @Claudia-Svenson

        You can pick only ONE:

        e8b42b13-dd3e-4a98-8c9c-2bf5da82823c-image.png

        If you pick the bottom one, that’s where you’d add your D:\data


        I have to navigate with a dozend of clicks to the desired target directory D:\data

        Or, just type into the box the SaveAs dialog is offering you: d:\data\myfile.txt

        Claudia SvensonC 1 Reply Last reply Reply Quote 2
        • guy038G
          guy038
          last edited by guy038

          Hello, @claudia-svenson, @alan-kilborn and All,

          @alan-kilborn,the classical solution that you proposed as well as the work-around to simply write D:\Data\file.txt are correct.

          However, choosing a specific directory to follow ( third choice ) will apply to, both, saved or unsaved files !


          To my mind, @claudia-svenson would like this kind of dialog in Preferences... > Default Directory > Default Directory (Open/Save) :

          
              (•) Follow current document
          
              (•) Remember last used directory
          
              (•) Directory for Saved files  with a FIRST field and the ... button
          
              (•) Directory for Unsaved files  with A SECOND field and the ... button
          

          Personally, I would like this new behavior. So the @claudia-svenson’s D:\Data directory would look as a folder containing various saved notes and usual material that you could refer to, at any moment !

          Of course, if you do not choose the options 1 or 2, the 3 option would be mandatory and if the 4 option was empty, it would use, by default, the directory of the 3 optiuon.


          But, may be it’s not the true need of @claudia-svenson or my reasoning is perhaps very week in that matter ?

          Best Regards,

          guy038

          1 Reply Last reply Reply Quote 1
          • Claudia SvensonC
            Claudia Svenson @Alan Kilborn
            last edited by

            @Alan-Kilborn

            If I pick the 3rd radio button then ALL files are saved into this directory.
            But I want to use this directory only for NEW files.
            For loaded, existing files the “follow current directory” rule should be taken.

            Your suggestion typing in manually “d:\data\myfile.txt”
            is almost as uncomfortable as clicking through the dir tree in folder selection dialog. So its not a solution.

            So what I need here is a split rule in “Default Directory” section:

            Default Save file directory (for existing, loaded files):
            …
            …
            …
            Default Save file directory (for new files):
            …

            Can this option be added in the next release?

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA
              Alan Kilborn @Claudia Svenson
              last edited by Alan Kilborn

              @Claudia-Svenson said:

              I want to use this directory only for NEW files.
              For loaded, existing files the “follow current directory” rule should be taken.

              Leave the setting at Follow current document.
              Install the Take Notes plugin and use its Create New Note feature, rather than Ctrl+n (or, suggested: configure Take Notes to override).
              Of course, you must use the Take Notes 's Option… menu to configure your D:\data folder (along with other desired settings).

              1 Reply Last reply Reply Quote 1
              • guy038G
                guy038
                last edited by

                Hello, @alan-kilborn and All,

                Alan, why do you think that the @claudia-svenson’s request, and my post which described the same feature, are NOT really interesting and pertinent, despite of various work-arounds ?

                Best Regards,

                guy038

                Alan KilbornA 1 Reply Last reply Reply Quote 0
                • guy038G
                  guy038
                  last edited by guy038

                  Hello, @alan-kilborn and All,

                  Well, I 've just realized that my description of the behavior of the possible new Default Directory (Open/Save) section, in Preferences, is a bit erroneous !

                  Indeed, whatever the option 1, 2 or 3 chosen for saved files, two cases would be possible :

                  • If NO directory is shown, for the 4 new option, the unsaved files would respect the option chosen for saved files ( present N++ behavior )

                  • If a directory is shown, for the 4 new option, the unsaved files would be saved in that specific directory, only

                  BR

                  guy038

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

                    @guy038 said:

                    why do you think that the @claudia-svenson’s request, and my post which described the same feature, are NOT really interesting and pertinent

                    Did I say that?
                    No, but OK, it isn’t really interesting to me (maybe others?).

                    I do think that Take Notes plugin solves the problem very nicely.

                    …two cases would be possible…if NO directory…if a directory…

                    This kind of thing pretty much makes it impossible for the casual user to get their head around the functionality, without consulting the manual.

                    1 Reply Last reply Reply Quote 1
                    • CoisesC
                      Coises @Claudia Svenson
                      last edited by

                      @Claudia-Svenson

                      There is one thing I haven’t seen mentioned here yet. It’s the way I have Notepad++ set up:

                      Select Follow current document as the default directory. In the shortcut you use to start Notepad++, set the directory you want to use when there is no current document as the Start in directory.

                      In this set-up, when an existing document is open, the Open and Save As commands will begin in the folder containing that document. If you switch to an as-yet-unsaved file, Open, Save and Save As will begin in the folder containing the last existing document you viewed in that session. But if you start Notepad++ without opening any existing documents, Open, Save and Save As will begin in the folder you set as the working directory.

                      It’s not exactly what you requested, but perhaps close enough to reduce aggravation.

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