environment variables
Moderators: Hacker, petermad, Stefan2, white
environment variables
What environment variables does TC support?
So far, I've found
%COMMANDER_PATH%
%$APPDATA%,
%$FONTS%,
%$DESKTOP%,
%$PERSONAL%,
%$PROGRAMS%,
%$STARTMENU%,
%$STARTUP%
Are those all, or there is more somewhere hidden?
So far, I've found
%COMMANDER_PATH%
%$APPDATA%,
%$FONTS%,
%$DESKTOP%,
%$PERSONAL%,
%$PROGRAMS%,
%$STARTMENU%,
%$STARTUP%
Are those all, or there is more somewhere hidden?
@Sir_Silva:
These are not internal variables but systemwide ones (besides %Commander_Path%) which you can call using the "set" command in console.
@solid:
Complete list is only in HISTORY.TXT afaik. I extracted all of them some days ago to update my directory list:
%$APPDATA%
%$COMMON_APPDATA%
%$COMMON_DESKTOPDIRECTORY%
%$COMMON_DOCUMENTS%
%$COMMON_PICTURES%
%$COMMON_PROGRAMS%
%$COMMON_STARTMENU%
%$COMMON_STARTUP%
%$DESKTOP%
%$FONTS%
%$LOCAL_APPDATA%
%$MYPICTURES%
%$PERSONAL%
%$PROGRAMS%
%$STARTMENU%
%$STARTUP%
If there are more ghisler has not mentioned them, maybe he will update that list (and the help file...).
Icfu
These are not internal variables but systemwide ones (besides %Commander_Path%) which you can call using the "set" command in console.
@solid:
Complete list is only in HISTORY.TXT afaik. I extracted all of them some days ago to update my directory list:
%$APPDATA%
%$COMMON_APPDATA%
%$COMMON_DESKTOPDIRECTORY%
%$COMMON_DOCUMENTS%
%$COMMON_PICTURES%
%$COMMON_PROGRAMS%
%$COMMON_STARTMENU%
%$COMMON_STARTUP%
%$DESKTOP%
%$FONTS%
%$LOCAL_APPDATA%
%$MYPICTURES%
%$PERSONAL%
%$PROGRAMS%
%$STARTMENU%
%$STARTUP%
If there are more ghisler has not mentioned them, maybe he will update that list (and the help file...).
Icfu
This account is for sale
Here is a little test program I wrote a while ago to display all "registry environment strings":
www.lefteous.de/tc/archives/regenvstrings/regenvstrings_1.03.zip
NOTE: Not all of them are implemented in Total Commander.
www.lefteous.de/tc/archives/regenvstrings/regenvstrings_1.03.zip
NOTE: Not all of them are implemented in Total Commander.
Some variables are misnamed in ini file or maybe I don't understand what that inifile is for?
For example in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders there is a varibale "Administrative Tools" but not "admintools" and MYMUSIC, MYPICTURES and MYVIDEO should have spaces in them, etc...
Is it just the way you would choose the variable names?
Enlighten me please.
Icfu
For example in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders there is a varibale "Administrative Tools" but not "admintools" and MYMUSIC, MYPICTURES and MYVIDEO should have spaces in them, etc...
Is it just the way you would choose the variable names?
Enlighten me please.

Icfu
This account is for sale
2icfu
However only the numeric values are important not the names for my tool.
The names are not directly referring to the registry keys they are referring to so called CSIDLs. These are just constant values. The names used in the INI file are taken from this documentation (without the prefix).Enlighten me.
However only the numeric values are important not the names for my tool.