I am trying to retrieve the environment variable to detect whether the system is 32 or 64 bit.
But on 64 bit server the environment variable %processor_architecture%>
I found on my Win7HB x64 system:
msgbox wscript.createobject("wscript.shell").environment("system").item("processor_architecture") ' always "AMD64"
msgbox wscript.createobject("wscript.shell").environment("process").item("processor_architecture") ' "AMD64" if launched via System32, "x86" if launched via SysWOW64