Using this simple test batch script:
@echo off
echo %ProgramFiles%
echo %ProgramFiles(x86)%
is my output:
"C:\Program Files"
C:\Program Files (x86)
One variable is enclosed in quotes while the other isn't? Is this a bug of some sort, or a simple oversight on my behalf?