Why %processor_architecture% always returns x86 instead of AMD64

后端 未结 9 2314
被撕碎了的回忆
被撕碎了的回忆 2020-11-29 03:03

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%

9条回答
  •  青春惊慌失措
    2020-11-29 03:32

    You can also get this from an environment variable, PROCESSOR_ARCHITEW6432. See this article for more info.

提交回复
热议问题