TCC LE doesn't expand %~ff correctly

Apr 25, 2020
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:

TCC LE output:

%~ff doesn't seem to be documented. but looks like it expands to full path.
Apr 25, 2020
Can this be suupored in TCC/LE as well ? I tried the latest version (14.00.9 x64) and it is NOT supported.

Charles Dye

Super Moderator
Staff member
May 20, 2008
Albuquerque, NM
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.

Similar threads