Wincmd.ini
This one works:
[Packer]
RAR="%COMMANDER_PATH%\Plugins\arc\Rar%PROCESSOR_ARCHITECTURE%.exe" -ma5 -m5 -s -t
This does not work:
[Packer]
RAR="%COMMANDER_PATH%\Plugins\arc\Rar%PROCESSOR_ARCHITECTURE:~3,2%.exe" -ma5 -m5 -s -t
BTW,
Editor=%COMMANDER_PATH%\AkelPad%PROCESSOR_ARCHITECTURE:~3,2%.exe
and any %PROCESSOR_ARCHITECTURE:~3,2% in [user] also works fine
[TC10.0, TC9.x] %PROCESSOR_ARCHITECTURE:~3,2% in [Packer] lines...
Moderators: Hacker, petermad, Stefan2, white
[TC10.0, TC9.x] %PROCESSOR_ARCHITECTURE:~3,2% in [Packer] lines...
Ukrainian Total Commander Translator. Feedback and discuss.
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC10.0, TC9.x] %PROCESSOR_ARCHITECTURE:~3,2% in [Packer] lines...
I have checked it - the packer functions use the older ANSI function to replace environment variables, which doesn't support the :~ option. The editor uses the Unicode functions, which supports it. I will consider to support it also in the ANSI function, but it will take some time to implement.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC10.0, TC9.x] %PROCESSOR_ARCHITECTURE:~3,2% in [Packer] lines...
This should be fixed in beta 7, please try it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC10.0, TC9.x] %PROCESSOR_ARCHITECTURE:~3,2% in [Packer] lines...
Works fine in beta 7. Thanks.
Ukrainian Total Commander Translator. Feedback and discuss.