简体   繁体   English

在x64位版本中获取Windows目录的变量?

[英]Variables to get windows directories in x64 bit version?

In x64 bit version of windows, i see that are also x86 bit directories. 在Windows的x64位版本中,我看到的也是x86位目录。 How do we get that using envirnoment variables ? 我们如何使用环境变量来获得它?

List of recognized System Environment Variables in Windows Windows中公认的系统环境变量列表

  • For, say, Program Files (x86), it's PROGRAMFILES(X86) 例如,程序文件(x86)是PROGRAMFILES(X86)
  • Common Files under Program Files (x86) is COMMONPROGRAMFILES(X86) 程序文件(x86)下的公用文件是COMMONPROGRAMFILES(X86)

Which directory are you looking to find, specifically? 您要查找哪个目录,特别是?

PROGRAMFILES(X86) refers to the C:\\Program Files (x86) folder on 64-bit systems. PROGRAMFILES(X86)是指64位系统上的C:\\ Program Files(x86)文件夹。

See here: http://technet.microsoft.com/en-us/library/dd560744(WS.10).aspx 参见此处: http : //technet.microsoft.com/zh-cn/library/dd560744(WS.10).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM