WAD environment variable in TCC.exe

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Mar 7, 2011
4
0
#1
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
3,376
39
Albuquerque, NM
prospero.unm.edu
#2
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.