Is there a way to determine if the machine is running an Intel or AMD processor through the Windows command line (so it can be placed in a Batch file)? I am trying to make an installation script for some drivers, and decided that using "Devcon" is the best way, but it requires the correct architecture to run.
Additionally, is there a better way to determine if a computer is running 32-bit or 64-bit versions of Windows besides checking for the existence of "Program Files (x86)"? That is the approach I have taken thus far.
I'm not new to programming or scripting, but I am very new to Windows CMD (I'm primarily a Linux user).
Thanks guys! I can give more information if you need it.