Created
March 29, 2016 13:32
-
-
Save Ryanb58/289198852f777ff79613 to your computer and use it in GitHub Desktop.
Figure out the architecture of your processor via the command prompt on windows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if /i "%processor_architecture%"=="x86" ( | |
| IF NOT DEFINED PROCESSOR_ARCHITEW6432 ( | |
| echo Run 32 bit command | |
| ) ELSE ( | |
| echo Run 64 bit command 1 | |
| ) | |
| ) else ( | |
| echo Run 64 bit command 2 | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment