I am working on creating a batch file in Windows 8 that will not accept "C:\Program files" in its body, because the space between Program and files gives an error. So, I used "C:\Progra~2" .
I want to access Program files (x86) .
I have two PCs with Windows 8: Windows 8 PRO and Windows 8 OEM.
When I "C:\Progra~2" from Explorer to access program files (x86) it successfully opens in Windows 8 PRO.
But when I do the same in Windows 8 OEM, it says
Windows cannot find C: \ Progra ~ 2.
I'm not sure if this is a problem with the PRO and OEM versions.
Can someone help me find a solution?
source share