Pseudo environment variable for Downloads

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
X-Byte
Member
Member
Posts: 173
Joined: 2004-11-29, 09:34 UTC
Location: Hessen, Germany

Pseudo environment variable for Downloads

Post by *X-Byte »

Can you please add a Pseudo environment variable for the user specific Downloads folder which is always referenced in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders in the value of the entry {374DE290-123F-4565-9164-39C4925E467B}

And while you're at it, you might want to update the help file to include some information on the pseudo variables. Nobody will accidentally find them in the WhatsNew section if you don't know what you have to search for. And please check with the Navigation Wiki entry if the info there is comprehensive.
User avatar
vdijken
Member
Member
Posts: 181
Joined: 2016-07-30, 14:07 UTC
Location: The Netherlands

Post by *vdijken »

Your proposal has an issue with synchronization when it is designed and implemented as you propose. When should TC set the pseudo environment variable, and when you change it on the fly the value becomes false.
User avatar
X-Byte
Member
Member
Posts: 173
Joined: 2004-11-29, 09:34 UTC
Location: Hessen, Germany

Post by *X-Byte »

I don't see an issue there. It's the same with most other pseudo environment variables. And even if it becomes invalid due to a change, so what?
User avatar
vdijken
Member
Member
Posts: 181
Joined: 2016-07-30, 14:07 UTC
Location: The Netherlands

Post by *vdijken »

Your reply says everything, I don't think Mr. Ghisler wants unwanted side effects in TC!
User avatar
X-Byte
Member
Member
Posts: 173
Joined: 2004-11-29, 09:34 UTC
Location: Hessen, Germany

Post by *X-Byte »

Thank you for being Christian's advocate.
Like I said, most other pseudo variables are retrieved in the same way.
Please let him decide on this request. (or remain silent, as he usually does)
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2vdijken
When should TC set the pseudo environment variable, and when you change it on the fly the value becomes false.
Your comment reveals a misconception about how pseudo env. variables work. These variables may be stored in the registry as X-Byte explained but in order to access them a really stable API is used by TC

The pesudo env. variables work reliable for years now and I don't really see your point. It's a good idea to give them a refresh.

@Christian Ghisler
There is also a new system for such folders called known folders which is recommended to use since Vista
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

vdijken wrote:When should TC set the pseudo environment variable, and when you change it on the fly the value becomes false.
Uh, that's not limited to the suggested variable, is it? What about %$PERSONAL%? Same thing. So, it's not a valid argument against the suggestion.

BTW: Support++ for the suggestion, although I wouldn't use it myself I can see its benefits for many other people.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

There is also a new system for such folders called known folders which is recommended to use since Vista
Nice, I will try to add them!
Author of Total Commander
https://www.ghisler.com
User avatar
beb
Senior Member
Senior Member
Posts: 430
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Post by *beb »

Have a dream about such an option for life.
Thanks a lot, X-Byte, for the suggestion, that I was too lazy to make myself.
Thanks a lot, Christian, if this will be implemented.

P.S. I use the TCIMG tool to quick access any user specific "Downloads" folder by now. But there's a notable time delay when this task is being performed.

usercmd.ini:

Code: Select all

[em_downloads]
cmd=%commander_path%\Plugins\app\TCIMG\TCIMG.exe
param=patha=$f45
button:

Code: Select all

TOTALCMD#BAR#DATA
em_downloads

%Windir%\system32\SHELL32.dll,122
Downloads
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

beb wrote:Have a dream about such an option for life.
Thanks a lot, X-Byte, for the suggestion, that I was too lazy to make myself.
Thanks a lot, Christian, if this will be implemented.

P.S. I use the TCIMG tool to quick access any user specific "Downloads" folder by now. But there's a notable time delay when this task is being performed.

usercmd.ini:

Code: Select all

[em_downloads]
cmd=%commander_path%\Plugins\app\TCIMG\TCIMG.exe
param=patha=$f45
button:

Code: Select all

TOTALCMD#BAR#DATA
em_downloads

%Windir%\system32\SHELL32.dll,122
Downloads
I use Quick Access Popup which has all special folders predefined
and allows to jump to them with TC with no delay.
http://www.quickaccesspopup.com/
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply