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?
And easy way would be to test for the existence of the %SystemRoot%\SysWOW64 folder. While it's not 100% foolproof, it's a really good for detecting if the system is 64-bit.
%SystemRoot%\SysWOW64