Although set shows 2 spaces in the variable programfiles(x86) when I go to use it the second space disappears making the variable not very useful:
C:\>set programfile*
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
C:\>echo --"%programfiles"-- --"%programfiles(x86)"--
--"C:\Program Files"-- --"C:\Program Files(x86)"--
C:\>
Oops, I'm sorry I see this has been addressed before.
I used %@sharefolder[38] to work around this seven characters shorter than %[ProgramFiles(x86)]
C:\>set programfile*
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
C:\>echo --"%programfiles"-- --"%programfiles(x86)"--
--"C:\Program Files"-- --"C:\Program Files(x86)"--
C:\>
Oops, I'm sorry I see this has been addressed before.
I used %@sharefolder[38] to work around this seven characters shorter than %[ProgramFiles(x86)]