Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TCC LE doesn't expand %~ff correctly

Apr
3
0
TCC LE 14.00.9 x64 Windows 10 [Version 6.3.18363]

Create a simple batch file a.bat under e:\temp:

for %%f in ("%~1") do (
echo "%%~ff"
)


Run the patch file a.bat test
cmd output:
"E:\temp\test"

TCC LE output:
"testf"

%~ff doesn't seem to be documented. but looks like it expands to full path.
 
Can this be suupored in TCC/LE as well ? I tried the latest version (14.00.9 x64) and it is NOT supported.
 
Well, I can't speak for Rex, but.... No, I really don't think that's going to happen any time soon. TCC/LE hasn't been updated in more than four years, and he has said on more than one occasion that he's not interested in making further changes to it.

If you want to do this in TCC/LE, I'd suggest using the @TRUENAME function.
 
Back
Top
[FOX] Ultimate Translator
Translate