EmEditor (text editor) Forum Index
   Plug-in Bug Reports
     Allow Env Vars for "Save Backups to Backup Folder"
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Stefan
Posted on: 2/23/2013 1:05 pm
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 263
Allow Env Vars for "Save Backups to Backup Folder"
.

The edit box "Backup Folder:"
of "Config > Backup"
will show me all items of %tmp%
as an drop-down display
but then again he tell me:



---------------------------
EmEditor
---------------------------
The folder '%temp%\_EmEd_Backups' does not exist.
Create a new folder?
---------------------------
Ja Nein
---------------------------



and then



---------------------------
EmEditor
---------------------------
Cannot create a folder.
---------------------------
OK
---------------------------




Even the folder already exists.

Browsing for the full path works of course.


So i guess EmEditor doesn't really allow
env vars as path in that control?

It seems to me just your code to check the path
is not prepared to expand the %VAR% ?

If that is true... could that be improved please?

.
Yutaka
Posted on: 2/25/2013 9:06 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: Allow Env Vars for "Save Backups to Backup Folder"
Hello Stefan,

Environment variables are not supported for the Backup folder. If this is something you desire, I will add this feature in future versions. By the way, this is not a plug-in feature, but rather an EmEditor core feature.

Thanks!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Stefan
Posted on: 2/25/2013 10:21 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 263
Re: Allow Env Vars for "Save Backups to Backup Folder"
Quote:

Yutaka wrote:
Environment variables are not supported for the Backup folder. If this is something you desire, I will add this feature in future versions.

Well, since i use EmEditor portable
i just want to make this path portable too,
and pointing it e.g. to user profile folder
(You know: no matter if user is stefan or admin)
Or to a other partition which is defined by
an own created env var %Backups%.


But at least we can use relative paths here:
[ .\Backups ]

So i can life with that but to make EmEditor even more portable
i want to suggest to respect this fact on all places.
So,... if you find some time to implement this it would be appreciated .


Quote:

Yutaka wrote:
By the way, this is not a plug-in feature, but rather an EmEditor core feature.

Yes, sorry, i have just clicked the wrong forum by accident.
Please move it if you want.


Thank you.
Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文