How to save new (!) documents always in D:\data\ ? (And not in most recent directory)
-
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.
-
You can pick only ONE:
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
-
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
or2
, the3
option would be mandatory and if the4
option was empty, it would use, by default, the directory of the3
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
-
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?
-
@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 yourD:\data
folder (along with other desired settings). -
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
-
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, inPreferences
, is a bit erroneous !Indeed, whatever the option
1
,2
or3
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
-
-
@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.
-
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.