Page 1 of 1

"%TEMP%" in unpack dialog

Posted: 2004-03-10, 00:46 UTC
by Black Dog
[face=courier]Hit Alt+F6 on any archive. Change unpacking path to %TEMP%. Commander will create subdir "%TEMP%\" in the directory with archive and unpack it there - Christian suppose it's right. Well, what do you think? Should this dialog supports environment variable in general?[/face]

Posted: 2004-03-10, 11:03 UTC
by icfu
Environment variables should be interpreted everywhere in TC, not only in dialogs. It makes no sense at all to interpret %whatever% as a name for a directory or a file.

Icfu

Posted: 2004-05-01, 20:00 UTC
by Thany
Add to that, that interpreting environment variables is very easy. Just a single API call: ExpandEnvironmentStrings() :)

Posted: 2004-05-01, 22:01 UTC
by Sheepdog
icfu wrote:Environment variables should be interpreted everywhere in TC, not only in dialogs. It makes no sense at all to interpret %whatever% as a name for a directory or a file.

Icfu
Fully agree with this .

sheepdog