文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > Windows 环境变量
侵权投诉

Windows 环境变量

Windows System Environment Variables

Windows System Environment Variables

These system environment variables are automatically created by Windows upon boot-up in Windows Registry key HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ Session Manager\ Environment

Variable Sample Typical Value

%SystemDrive% C:

%SystemRoot% C:\WINDOWS

C:\WINNT

%WinDir% C:\WINDOWS

C:\WINNT

%SystemDirectory% C:\WINDOWS\System32

C:\WINNT\System32

%ComSpec% C:\WINDOWS\system32\cmd.exe

The path including the command interpreter program.

%programfiles% C:\WINDOWS\Program Files

%Temp% C:\Users\W\AppData\Local\Temp on Windows Vista & 2008

C:\DOCUME~1\Usr\LOCALS~1\Temp (compressed form of)

C:\Documents and Settings\Usr\Local Settings\Temp

%Tmp%

%HOMEDRIVE% C: The drive letter associated with the user's home directory

%HOMEPATH% The path to the user's home directory as defined in UMD/AD (excluding drive):

\Users\<USERNAME> on Windows Vista & 2008

\Documents and Settings\Guest on Windows XP

%OS% Windows_NT (even on Windows Vista & XP machines

The operating system the user is running

%USERDOMAIN% The name of the domain that contains the user's account. On a stand-alone machine, the same as the machine name.

%USERNAME% The user's name

%USERPROFILE% C:\Users\<USERNAME> — The user's root folder

%USERPROFILE%\Desktop The user's desktop folder

If you have the permissions, invoke, then open my DOS batch file 1envvars.bat which lists the values of these variables on your computer

Windows resolves commands typed in the start/run box first from files in %SYSTEMDRIVE%, then files in %SYSTEMROOT%. This is regardless of the systemdrive (such as E:) being later in the path. This means that a rogue file can be invoked instead of a good file (such as cmd.exe) if it's in the %SYSTEMDRIVE%.

Below are dynamic environment variables:

第1页

你可能喜欢

  • CMD命令行高级教程
  • Excel使用技巧大全(超
  • 使用技巧
  • Linux系统命令使用详解
  • CATIA环境变量
  • 批处理命令
  • 批处理文件

热门文档

相关文档

  • windows环境变量详解

    windows环境变量详解_IT/计算机_专业资料。在一些批处理或者系统技巧操作教程文章中,我们常常会看到一些形如 %windir% 或者 %systemdrive% 的变量。这些变量都代表...

  • windows环境变量

    “%字串%”是windows环境变量。 对XP来说常见的变量有 %windir% 一般是c:\windows %ComSpec% 一般是c:\windows\system32\cmd.exe %system%不是windows内置的...

  • Windows系统环境变量大全

    Windows系统环境变量大全_IT/计算机_专业资料。系统命令的操作Windows 系统环境变量大全 --%ALLUSERSPROFILE% 列出所有用户 Profile 文件位置。 %APPDATA% 列出应用...

  • Windows环境变量列表

    Windows环境变量列表_计算机软件及应用_IT/计算机_专业资料。Windows环境变量列表环境变量是目录的可以直接在绝对路径中引用,所有值均可在 CMD 下用 echo 命令显示以...

  • Windows系统环境变量列表

    Windows系统环境变量列表_IT/计算机_专业资料 暂无评价0人阅读0次下载举报文档 Windows系统环境变量列表_IT/计算机_专业资料。Windows系统环境变量列表...

  • Windows中的环境变量

    Windows中的环境变量.txt ===查看和修改=== 1,我的电脑右键->系统属性->高级->环境变量, 这时环境变量显示两种:用户变量和系统变量 某一个环境变量的值等于用...

  • 改Windows系统环境变量大全

    改Windows系统环境变量大全_电脑基础知识_IT/计算机_专业资料。多时候,不管我们在 XP 下还是在 Vista、Win7、Win8 下,不管我们是程序员还是普通用户, 我们都...

  • Windows7下环境变量的配置图解

    Windows7下环境变量的配置图解_计算机软件及应用_IT/计算机_专业资料 暂无评价0人阅读0次下载举报文档 Windows7下环境变量的配置图解_计算机软件及应用_IT/...

  • Windows系统环境变量列表

    Windows系统环境变量列表_计算机软件及应用_IT/计算机_专业资料。Windows系统环境变量列表Windows 系统环境变量列表 环境变量 详细信息 %ALLUSERSPROFILE% 所有用户 ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email