Windows 64bit vs 32bit?

(imported topic written by shajducko91)

Anyone have a valid method of determining with the relevance language whether the system is Windows 2003 64bit or or Windows 2003 32bit?

As of right now, I’m just testing for the C:\Program Files (x86) folder, but thats rather kludgy.

(imported comment written by jeremylam)

x64 of operating system