Does anybody know how to create a batch file that can shell one program if its a 64-bit system or shell another if its a 32-bit system?
All batch up there not work in my Windows 8 x64.
Following work with me :
@cd %programfiles(x86)%\ @if %ERRORLEVEL% == 0 (echo x64&&pause) @if %ERRORLEVEL% == 1 (echo x86&&pause)