[Lates TCC (v67)]
[Cmd.exe]
> dir "%ProgramFiles(x86)%"
[...]
Directory of C:\Program Files (x86)
31-May-11 00:12 <DIR> .
[...]
1 File(s) 174 bytes
26 Dir(s) 112,201,871,360 bytes free
[TCC]
dir "%ProgramFiles(x86)"
TCC: (Sys) The system cannot find the file specified.
"C:\Program Files(x86)"
0 bytes in 0 files and 0 dirs
112,201,871,360 bytes free
Note that TCC has expanded %ProgramFiles(x86) to "C:\Program Files(x86)" (instead of "C:\Program Files (x86)" (with space between Files and (x86)".
But:
> set ProgramFiles(x86)
C:\Program Files (x86) (which is correct)
[Cmd.exe]
> dir "%ProgramFiles(x86)%"
[...]
Directory of C:\Program Files (x86)
31-May-11 00:12 <DIR> .
[...]
1 File(s) 174 bytes
26 Dir(s) 112,201,871,360 bytes free
[TCC]
dir "%ProgramFiles(x86)"
TCC: (Sys) The system cannot find the file specified.
"C:\Program Files(x86)"
0 bytes in 0 files and 0 dirs
112,201,871,360 bytes free
Note that TCC has expanded %ProgramFiles(x86) to "C:\Program Files(x86)" (instead of "C:\Program Files (x86)" (with space between Files and (x86)".
But:
> set ProgramFiles(x86)
C:\Program Files (x86) (which is correct)