Page 1 of 1

Pseudo environment variable for Downloads

Posted: 2017-05-19, 09:41 UTC
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.

Posted: 2017-05-29, 19:30 UTC
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.

Posted: 2017-05-30, 06:06 UTC
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?

Posted: 2017-05-30, 07:09 UTC
by vdijken
Your reply says everything, I don't think Mr. Ghisler wants unwanted side effects in TC!

Posted: 2017-05-30, 07:34 UTC
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)

Posted: 2017-05-30, 07:49 UTC
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

Posted: 2017-05-30, 11:43 UTC
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

Posted: 2017-06-01, 10:32 UTC
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!

Posted: 2017-06-03, 09:30 UTC
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

Posted: 2017-06-03, 12:46 UTC
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/