MSDN

OSArchitecture shows 32/64-bit (for the OS; not for the CPU)
* Not available in XP and older

So, in the script above, //echo -a $osget(OSArchitecture) should give what you want.

Also, I'd recommend using Caption instead of Name for the version. Saves needing to remove data from the result.

And, just a note... Service Pack is not available in Windows NT 4.0 and Windows Me/98/95 using the method in the script above. As mentioned, different versions have different commands to get info (or no commands at all), which can cause issues with build-in identifiers because you can't fix them yourself if they don't work.

Last edited by Riamus2; 20/03/11 09:20 PM.