TC 8.50 cm command mydocuments

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

TC 8.50 cm command mydocuments

Post by *silencer »

In TC8.5 the dropdown list contains the My Documents entry.
I guess the value from the registry is used ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" possibly)

Can this path also be a CM command like the "My Computer" (cm_OpenDrives) so it could be used in a button/shortcut also?

(I would also like "Downloads" to be included, but maybe this is to obscure, since this isn't in the dropdown box either..)
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Try this:

Code: Select all

cd %$PERSONAL%
Other TC-defined variables I know are %$APPDATA% and %$LOCAL_APPDATA%/$LOCALAPPDATA%.

BTW just tried to find something about these pseudo-variables in HISTORY or help - no luck. So, I think they should be documented.
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

Thanks! this helps a lot. :D

I used %USERPROFILE%, which is working fine on my personal installation, but is not pointing to the correct directory on the company installations because this directory was shifted to another drive.

I also see that the download parameter was allready requested in another thread (when searching for this pseudo-variables)
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

http://www.ghisler.ch/wiki/index.php/Navigation -> Pseudo environment variables

Regards
Holger
Post Reply