WAD environment variable in TCC.exe

Mar 7, 2011
4
0
Hello
environment variable is not correct in TCC.exe mode.

%ProgramFiles(x86)% ==> correct is C:\Program Files (x86)

but in Tcc always C:\Program Files(x86), not C:\Program Files (x86)

Please fix bug.

Thanks
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,689
106
Albuquerque, NM
prospero.unm.edu
Hello
environment variable is not correct in TCC.exe mode.

%ProgramFiles(x86)% ==> correct is C:\Program Files (x86)

but in Tcc always C:\Program Files(x86), not C:\Program Files (x86)

Please fix bug.

Thanks

Not a bug, just an unfortunate choice of characters in the variable name. TCC interprets that as the variable %PROGRAMFILES, followed by the literal text "(86)". To expand the variable name you want to expand, you can use %[PROGRAMFILES(X86)] -- this makes TCC interpret everything inside the square brackets as the variable name.
 

Similar threads