💻 Software
Batch file for Windows7 32 and 64 bits
Fresh5 days ago
Mar 15, 202618067 viewsConfidence Score0%
0%
Problem
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 …
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Batch file for Windows7 32 and 64 bits
Low Risk
in a 64bit environment you will have an environment variable called ProgramFiles(x86) in a 32bit environment you do not have that variable. so you could check with
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix