allow environment variables in "directory" settings

Advertisement

bblackmoor
Guest

allow environment variables in "directory" settings

In the saved settings for each connection, there are settings for the local and remote directory. I would like to be able to use environment variables in these fields. For example:

%MY_DOCUMENTS%/WWW/Some_Web_Site/somewebsite.org

Reason: I typically have a similar file structure on each workstation I use. However, on some workstations I have multiple drives, so I move my "My Documents" to D: (or to some other drive), while on my laptop (or some other smaller computers) "My Documents" is in it's default location, somewhere way under "C:/Documents and setting/....".

By setting a MY_DOCUMENTS environment variable, and using it in the "directory" settings, I would be able to easily share my WinSCP settings across all of my workstations.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: allow environment variables in "directory" settings

Make sense for local directory. But only as an initial value, if you have Remember last used directory turned on.
I guess, it makes no sense to use local variables for remote directory.
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: allow environment variables in "directory" settings

This issue has been added to tracker.
_________________
Martin Prikryl

Reply with quote

level20peon
Guest

resolved ?

Hey guys,

although this tracker ticket is marked "resolved" this functionality still doesn't seem to be implemented. Am I missing something here ? (Tested with version 4.26)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: resolved ?

It is marked as duplicate.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum