I am attempting to use the ProgramFiles(x86) variable in a batch file, but Take Command removes the space. See below -
Code:
C:\> ver
TCC 12.00.29 x64 Windows 7 [Version 6.1.7600]
C:\> set Prog
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
C:\> echo %ProgramFiles(x86)%
C:\Program Files(x86)
C:\>