"%TEMP%" in unpack dialog

Only forum where polls are allowed. You may announce a new poll in the matching support forum.

Moderators: white, Hacker, petermad, Stefan2

Post Reply

Should "%TEMP%" be interpreted as environment variable in unpack dialog?

Yes
28
90%
No
3
10%
 
Total votes: 31

User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

"%TEMP%" in unpack dialog

Post 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]
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post 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
This account is for sale
Thany
Senior Member
Senior Member
Posts: 292
Joined: 2003-09-30, 09:20 UTC
Location: Netherlands

Post by *Thany »

Add to that, that interpreting environment variables is very easy. Just a single API call: ExpandEnvironmentStrings() :)
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post 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
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply