- A+
所属分类:微软相关
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
%COMMONPROGRAMFILES% - C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% - C:\Program Files (x86)\Common Files %COMSPEC% - C:\Windows\System32\cmd.exe %HOMEDRIVE% - C: %HOMEPATH% - C:\Users\<username> %SYSTEMROOT% - C:\Windows %WINDIR% - C:\Windows %TMP% - C:\Users\<username>\AppData\Local\Temp %TEMP% - C:\Users\<username>\AppData\Local\Temp %APPDATA% - C:\Users\<username>\AppData\Roaming %ALLUSERSPROFILE% - C:\ProgramData %CD% - Typing in this command will give you the current directory you are working in. %CMDEXTVERSION% - This variable expands to the version of the command-line extensions. %DATE% - This variable will give you the current date according to date format preferences. %ERRORLEVEL% - Determines the error level set by last executing command. %LOCALAPPDATA% - C:\Users\<username>\AppData\Local %LOGONSERVER% - \\<domain_logon_server> %PATH% - C:\Windows\system32;C:\Windows; %PATHEXT% - .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc %PROGRAMDATA% - C:\ProgramData %PROGRAMFILES% - C:\Program Files %PROGRAMW6432% - C:\Program Files %PROGRAMFILES(X86)% - C:\Program Files (x86) %PROMPT% - $P$G %SYSTEMDRIVE% - C: %TIME% - Similarly, it gives you current time according to the time format preferences. %USERNAME% - <username> %USERPROFILE% - C:\Users\<username> %USERDOMAIN% - Userdomain associated with current user. %USERDOMAIN_ROAMINGPROFILE% - Userdomain associated with roaming profile. %PUBLIC% - C:\Users\Public %PSMODULEPATH% - %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\ %ONEDRIVE% - C:\Users\<username>\OneDrive %CMDCMDLINE% - Outputs command line used to launch the current Command Prompt session. %COMPUTERNAME% -Outputs the system name. %PROCESSOR_REVISION% - Outputs processor revision. %PROCESSOR_IDENTIFIER% - Outputs processor identifier. %PROCESSOR_LEVEL% - Outputs processor level. %RANDOM% - This variable prints a random number from 0 through 32767 %NUMBER_OF_PROCESSORS% - Outputs the number of physical and virtual cores. %OS% - Windows_NT |
- 我的微信
- 扫一扫加我好友
-
- 微信公众号
- 谈点儿别的
-