I tried to use env vars to copy a lib to the System32 folder, but TC doesn't parse/expand the variable name and thus complains that the path is incorrect.
Example:
Copy/Unpack to: %windir%\system32
TC shows the message:
The target directory:
current_path\%windir%\system32\%windir%
is not valid!
Is there a way to use these vars this way (with any file command)?
Also:
There isn't a reference for the env vars defined by Total Commander anywhere in the help file, except for a mention in the "What's new" section. Are there more variables than %COMMANDER_PATH% and the new v6.50 pseudo vars?
Thanks in advance.
[Bug?] Copy/unpack to Windows dir using env vars?
Moderators: Hacker, petermad, Stefan2, white
[Bug?] Copy/unpack to Windows dir using env vars?
Last edited by Helix751 on 2005-02-11, 20:41 UTC, edited 2 times in total.
Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Environment variables aren't resolved by most system functions - I have to add that manually to each function. Therefore not all functions will support them, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanks for the info. Anyway, it would be nice to have these implemented at least for the copy/move/unpack/create dir functions.
This has been added to my [Req] list (here)
This has been added to my [Req] list (here)
Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro