Batch file for Windows7 32 and 64 bits

Posted by Javier Marti on Super User See other posts from Super User or by Javier Marti
Published on 2010-05-18T09:00:39Z Indexed on 2010/05/18 9:11 UTC
Read the original article Hit count: 335

Filed under:
|

Hi guys,

I need to build a batch file for Windows 7. This .bat file is just for installing an application. The issue is that I need to know if Windows 7 is 32 bits (and then run a 32 installer) or if it is a Windows 7 64 bits (then run the 64 bits installer). Which command can I use in a batch file to know if Windows 7 is 32 or 64 bits?

Thanks in advance!!!

© Super User or respective owner

Related posts about batch

Related posts about windows-7