Other than just looking for a directory that normally only exists in x64 (like "C:\Program Files (x86)\"), does anyone use a reliable, elegant method to detect whether the current OS is x64 or x86?
We have developers working in a mixed O/S environment and I'm trying to find a reasonable way for them to run the same project scripts. So far, I've used kludges to do it, but this is ruffling my perfectionist feathers.