I have a DOS batch file. I have also an executable for version 32bit and one for version 64bit. I need to detect
on the batch file if the system running is an XP 64bit or an XP 32bit to pick up the correct executable to run.
I have seen some examples using systeminfo, it has the "OS Name" and the "SystemType".
My concern is what happens if Microsoft chosses a different name for the OS Name an does not include
the 64 number on that name? What if SystemType also is modified in the future and does not have the 64 number on it?
Are this two properties reliable?
Is there another global variable that we could check in a DOS batch file, or something else more reliable?