Pages

Showing posts with label vbscript to check 64bit OS. Show all posts
Showing posts with label vbscript to check 64bit OS. Show all posts

Tuesday 30 August 2011

VBScript to Check 32bit or 64bit Operating System

VBScript to check if Operating Systems is 32bit or 64bit


Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
Bits = GetObject("winmgmts:root\cimv2:Win32_Processor='cpu0'").AddressWidth
msgbox Bits