Added in 1.9.7
$osbits
Returns "32" on 32 bit windows, and "64" on 64 bit version of windows.