[9.10x64b1] F7, environment variables not expanded

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

:)

Nice!
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48024
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This has been added TC 9.10 beta 2, please test it!

There are multiple variations:
<[%temp%] -> c:\path\temp
<[%temp%\] -> temp
<[%temp%_] -> c_path_temp
Author of Total Commander
https://www.ghisler.com
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:This has been added TC 9.10 beta 2, please test it!

There are multiple variations:
<[%temp%] -> c:\path\temp
<[%temp%\] -> temp
<[%temp%_] -> c_path_temp
<[%TEMP%1-8] -> C:\Users (! - nice touch).

Yes, it seems to work fine (in F7 at least). Nicely done.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)
Maybe this option should be mentioned in the help file.

BTW - there is a visual glitch in the help file for this function - see http://madsenworld.dk/tcmd/helperror.png
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

petermad wrote:BTW - there is a visual glitch in the help file for this function - see http://madsenworld.dk/tcmd/helperror.png
Hmmm. Seems to be OK. The text which (i think) you're referring to, seems to be wrapped.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

wanderer
Wrapped text should be in the second column.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Flint wrote:wanderer
Wrapped text should be in the second column.
Ah, OK, now i get it. It will be interesting to hear from Christian if this can be done.

P.S. Maybe a separate bug post should be created for this.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

wanderer
Of course it can. There are many pages where this is implemented. See "Configuration - Change button bar", for example.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

OK then, to be more clear and visible, i created here a new bug with petermad's info.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48024
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

petermad wrote:Maybe this option should be mentioned in the help file.
What do you mean? It's mentioned both in the help for the multi-rename tool and for F7 and Shift+F4.

About the line break, I can fix that, no problem.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

What do you mean? It's mentioned both in the help for the multi-rename tool and for F7 and Shift+F4.
I dont see this in the Help for Shift+F4 and F7:
There are multiple variations:
<[%temp%] -> c:\path\temp
<[%temp%\] -> temp
<[%temp%_] -> c_path_temp
But maybe it is obvious enough once you use it - and it is in the help for the multi-rename tool, so I guess that's enough...
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48024
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

They are in the help for the multi-rename tool, they aren't specific to F7 or Shift+F4:

[%x%] Insert value of environment variable "x". Also supports ranges like [%x%1-5]
[%x%\] Same as [%x%], but only the last part of a path (e.g. c:\temp -> temp)
[%x%_] Same as [%x%], but replace all backslashes in paths by the provided character (here: "_") and remove the ":"
Author of Total Commander
https://www.ghisler.com
Post Reply