List of Windows and DOS Command Prompt Environment Variables List of Windows un DOS Command Prompt Vides mainīgie
Windows and DOS (Command Prompt) have several environment variables which provides a set of dynamic values that points to important system locations or settings. Windows un DOS (Command Prompt), ir vairākas vides mainīgos, kas paredz noteikt dinamiskas vērtību, kas norāda uz nozīmīgu sistēmu atrašanās vietu vai iestatījumus. Environment variables provided a way for running programs and batch command script to access the true discrete values, system paths or user management settings for configuration and processing purposes, avoiding the use of hard-coded values which may fail on some systems due to great variety of system configuration. Vides mainīgos paredzēts veids, darbības programmām un partijas vadības skriptu, lai piekļūtu patiesās diskrētām vērtībām, sistēmas ceļu vai lietotāja pārvaldības iestatījumus konfigurāciju un apstrādes nolūkiem, izvairoties no lietošanas iekodēts vērtības, kuras var ciest neveiksmi Dažās sistēmās, jo lielā dažādība sistēmas konfigurāciju.
Tip: Batch file (.bat or .cmd) also uses environment variables to store temporary values for reference later in the script, and also to communicate data and preferences to child processes. Padoms: Partijas fails (. Bat vai. Cmd) arī izmanto vides mainīgo uzglabāt pagaidu vērtības atsauce vēlāk skriptu, kā arī paziņot datus un parametrus, lai bērnam procesiem.
The table lists the common built-in environment variables in Windows operating system, together with their brief explanations and default values. Tabulā ir uzskaitīti kopējā iebūvēto vides mainīgos Windows operētājsistēmu, kopā ar īsu paskaidrojumu un standartvērtības. All environment variables is not case-sensitive. Visas vides mainīgie nav reģistrjutīga.
| Variable Variable | Usage Lietojums | Windows XP Windows XP | Windows Vista and Windows 7 Windows Vista un Windows 7 |
|---|---|---|---|
| %AllUsersProfile% % AllUsersProfile% | Expand to full path to the All Users profile directory which contains resources such as shortcuts for Start Menu and Desktop for all users. Paplašināt uz pilnu ceļu uz All Users profila direktorijā, kas satur tādus resursus kā īsceļus uz izvēlni Sākt un Desktop visiem lietotājiem. | {SystemDrive}:\Documents and Settings\All Users (SystemDrive): \ Documents and Settings \ All Users | {SystemDrive}:\ProgramData (SystemDrive): \ programdata |
| %AppData% % AppData% | Contain full path to the Application Data folder of the logged-in user. Satur pilnu ceļu uz Application Data mapē logged-in lietotājam. | {SystemDrive}:\Documents and Settings\{username}\Application Data (SystemDrive): \ Documents and Settings \ (username) \ Application Data | {SystemDrive}:\Users\{username}\AppData\Roaming (SystemDrive): \ Users \ (username) \ AppData \ Roaming |
| %CD% % CD% | Display current working directory or folder. Display pašreizējās darba direktorija vai mapes. | ||
| %ComputerName% % Datora nosaukums% | {ComputerName} (Datora nosaukums) | {ComputerName} (Datora nosaukums) | |
| %CommonProgramFiles% % CommonProgramFiles% | Point to Common Files directory. Punktā Common Files direktorijā. | {SystemDrive}:\Program Files\Common Files (SystemDrive): \ Program Files \ Common Files | {SystemDrive}:\Program Files\Common Files (SystemDrive): \ Program Files \ Common Files |
| %CommonProgramFiles(x86)% % CommonProgramFiles (x86)% | Only available in 64-bit (x64) OS, and point to Common Files directory in 32-bit Program Files folder. Pieejamas tikai 64 bitu (x64) OS, un norāda uz Common Files directory in 32-bit Program Files mapē. | {SystemDrive}:\Program Files (x86)\Common Files (SystemDrive): \ Program Files (x86) \ Common Files | {SystemDrive}:\Program Files (x86)\Common Files (SystemDrive): \ Program Files (x86) \ Common Files |
| %ComSpec% % ComSpec% | Display full path to the command processor (Cmd.exe on Windows NT based OS and Command.exe on Windows 9x and ME). Display pilnu ceļu uz komandu procesors (cmd.exe Windows NT balstīta OS un Command.exe uz 9x un Windows ME). | {SystemDrive}:\Windows\System32\cmd.exe (SystemDrive): \ Windows \ System32 \ cmd.exe | {SystemDrive}:\Windows\System32\cmd.exe (SystemDrive): \ Windows \ System32 \ cmd.exe |
| %Date% % Datums% | Display current date in regional format. Display pašreizējais datums reģionālās formātā. | ||
| %ErrorLevel% % ErrorLevel% | Point to current error level, normally used to check error returned from previous command. Norāda uz pašreizējās kļūdas līmeni, ko parasti izmanto, lai pārbaudītu kļūdu atgriezies no iepriekšējās komandas. | ||
| %HomeDrive% % HomeDrive% | Point to the drive for current signed on user's home folder. Punktu, cīnoties par pašreizējo parakstīts lietotāja mājas mapē. | {SystemDrive}:\ (SystemDrive): \ | {SystemDrive}:\ (SystemDrive): \ |
| %HomePath% % HomePath% | Point to the signed on user's home folder. Punktu parakstīto lietotāja mājas mapē. | {SystemDrive}:\Documents and Settings\{username} (SystemDrive): \ Documents and Settings \ (username) | {SystemDrive}:\Users\{username} (SystemDrive): \ Users \ (username) |
| %LogonServer% % LogonServer% | Hold the hostname of the server that authenticated the current user's logon credentials (name and password), normally own PC or domain controller. Turiet hostname no servera, kas apstiprināta pašreizējā lietotāja pieteikšanās akreditācijas dati (vārds un parole), ko parasti savu datoru vai domēna kontrolieris. | ||
| %Path% % Path% | Contains a semicolon-delimited list of directories in which the command interpreter will search for executable files. Satur semikolu norobežotu saraksts katalogi, kuros komanda tulks meklēs izpildāmos failus. | {SystemDrive}:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} (SystemDrive): \ Windows \ system32, C: \ Windows, C: \ Windows \ System32 \ Wbem; (plus programma ceļu) | {SystemDrive}:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} (SystemDrive): \ Windows \ system32, C: \ Windows, C: \ Windows \ System32 \ Wbem; (plus programma ceļu) |
| %PathExt% % PathExt% | Contains a semicolor-delimited list of extensions which are defined as exectable. Satur semicolor ierobežots paplašinājumu saraksts, kas ir definētas kā exectable. | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.WSF;.WSH . COM;. EXE,. LPTP;. CMD;. VBS,. VBE;. JS,. WSF;. Wsh | .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc . com,. exe,. LPTP;. cmd,. vbs,. VBE;. js,. jse;. WSF;. wsh;. MSC |
| %ProgramFiles% % Programfiles% | Point to Program Files directory, which stores all the installed program of Windows and others. Norādiet uz Program Files direktorijā, kurā uzglabā visus instalēta programma Windows un citi. | {SystemDrive}:\Program Files (SystemDrive): \ Program Files | {SystemDrive}:\Program Files (SystemDrive): \ Program Files |
| %ProgramFiles(x86)% % Programfiles (x86)% | Only available in 64-bit version, the variable force accesses to 32-bit Program Files folder bypassing Windows-on-Windows 64-bit redirection. Pieejamas tikai 64 bitu versija, mainīgo spēku piekļuvēm 32-bit Program Files mapes apiet Windows-on-64 Windows-bit redirection. | {SystemDrive}:\Program Files (x86) (SystemDrive): \ Program Files (x86) | {SystemDrive}:\Program Files (x86) (SystemDrive): \ Program Files (x86) |
| %ProgramW6432% % ProgramW6432% | Only available in 64-bit version, the variable force accesses to 64-bit Program Files folder. Pieejamas tikai 64 bitu versija, mainīgo spēku piekļuvēm 64-bit Program Files mapē. | {SystemDrive}:\Program Files (SystemDrive): \ Program Files | {SystemDrive}:\Program Files (SystemDrive): \ Program Files |
| %Prompt% % Prompt% | Display code for current command prompt format. Display kods pašreizējo komandu uzvednes formātā. | $P$G $ P $ G | $P$G $ P $ G |
| %Random% % Random% | Return a random number between 0 and 32767. Atpakaļ nejaušu skaitli no 0 līdz 32.767. | ||
| %SystemDrive% % SystemDrive% | Point to the drive where the system folder is placed. Norādiet uz diska, kur sistēmai mape ir nodotas. | C: ({SystemDrive} or any other drive letter) C: ((SystemDrive) vai jebkura cita diska burts) | C: ({SystemDrive} or any other drive letter) C: ((SystemDrive) vai jebkura cita diska burts) |
| %SystemRoot% % SystemRoot% | Display full path location of the system folder. Display pilnu ceļu atrašanās vietu sistēmas mapi. | {SystemDrive}:\Windows (fomerly C:\WINNT and C:\WINNT35) (SystemDrive): \ Windows (fomerly C: \ WINNT un C: \ WINNT35) | {SystemDrive}:\Windows (SystemDrive): \ Windows |
| %Temp% and%Tmp% % Temp% un% tmp% | Point to temporary folder. Punktu pagaidu mapi. | {SystemDrive}:\Documents and Settings\{username}\Local Settings\Temp (SystemDrive): \ Documents and Settings \ (username) \ Local Settings \ Temp | {SystemDrive}:\Users\{username}\AppData\Local\Temp (SystemDrive): \ Users \ (username) \ AppData \ Local \ Temp |
| %Time% % Laiks% | Display current time in regional format. Display Pašreizējā laika reģionālās formātā. | ||
| %UserDomain% % UserDomain% | Hold the name of the Workgroup or Windows Domain to which the current user belongs. Turēt vārdu Workgroup vai Windows domēnu, uz kuru pašreizējā lietotāja pieder. | ||
| %UserName% % Lietotājvārds% | Display currently logged on active user's account identification name. Displejs pašlaik ir pieteicies uz aktīvu lietotāja konta identifikācijas vārdu. | {UserName} (Lietotājvārds) | {UserName} (Lietotājvārds) |
| %UserProfile% % UserProfile% | Return location of the current user's profile directory as defined in HKCU registry hive (NTUSER). Atpakaļ vietu pašreizējā lietotāja profila direktorijā, kā noteikts HKCU reģistra stropa (NTUSER). | {SystemDrive}:\Documents and Settings\{username} (SystemDrive): \ Documents and Settings \ (username) | {SystemDrive}:\Users\{username} (SystemDrive): \ Users \ (username) |
| %WinDir% % Windir% | Similar %SystemRoot% and point to Windows directory. Similar% SystemRoot% un norāda uz Windows direktoriju. | {SystemDrive}:\Windows (C:\WINNT for previous OS and C:\WTSRV for NT4 Terminal Server Edition) (SystemDrive): \ Windows (C: \ WINNT iepriekšējos OS un C: \ WTSRV par NT4 Terminal Server Edition) | {SystemDrive}:\Windows (SystemDrive): \ Windows |
| %Public% % Sabiedrības% | Display full path to Public Application Data folder. Display pilnu ceļu uz sabiedrības Application Data mapē. | {SystemDrive}:\Users\Public (SystemDrive): \ Users \ Public |
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Comprehensive List of Command Prompt Keyboard Accelerators (Shortcut Keys) Visaptverošs saraksts Command Prompt Keyboard Accelerators (īsinājumtaustiņi)
- Reveal and Access to Windows Vista Hidden Context-Sensitive (Right Click) Menu Item – Open Command Prompt Here & Copy as Path Atklāt un pieeju Windows Vista Hidden Context-Sensitive (Right Click) menu item - Open Command Prompt "Šeit un Kopēt kā Path
- Open Elevated Command Prompt Window Here as Administrator at Current Folder Directly in Vista Windows Explorer Open Paaugstināts Command Prompt logu Tāpat kā administrators Pašreizējā mape tieši Vista Windows Explorer
- Use TZUtil To Change Time Zone in Command Prompt in Windows 7 Izmantojiet TZUtil nomainīt laika joslu Command Prompt Windows 7
- How to Open Elevated Command Prompt with Administrator Privileges in Windows Vista Kā atvērt Paaugstināts Command Prompt ar administratora privilēģijas Windows Vista
- How to Disable or Enable Vista User Access Control in Command Prompt Kā atspējot vai Iespējot Vista User Access Control in Command Prompt
- How to Enable More Fonts for Windows Command Prompt Kā to varētu panākt Šrifti Windows Command Prompt
- Create and Put an Elevated Command Prompt on Windows Vista Desktop or Start Menu Izveidot un ieviest Paaugstināts Command Prompt uz Windows Vista darbvirsmu vai Start Menu
- Change Hard Disk Partition or Volume Label Name in DOS Command Prompt Mainīt Hard Disk Partition vai Volume Label Vārds DOS Command Prompt
- Run Command Prompt in Multiple Tabs Palaist Komandu uzvedne vairākas cilnes










































November 26th, 2009 18:21 Novembris 26, 2009 18:21
Am having problem with the environment viraiables Esmu, kam problēmas ar vides viraiables
because i have been deleted all my viariables and values by mistake jo man ir svītrotas visas manas viariables un vērtību kļūdas dēļ
Help me if u have solution for this issue Palīdziet man, ja u ir risinājums šim jautājumam
its sticking my life tā uzlīmēšanu manā dzīvē
PLEASE!!!!!!!!!!!!!!!! LŪDZU !!!!!!!!!!!!!!!!
Panit and such as cmd are fully not working. Panit un, piemēram, cmd ir pilnībā nedarbojas.
THANKS IN ADVANCE!!!!!!! Thanks in advance !!!!!!!
MY OS 7 Ultimate. MY OS 7 Ultimate.
November 26th, 2009 13:59 Novembris 26, 2009 13:59
crappy web with bogus adds crappy web ar fiktīvu piebilst
November 14th, 2009 01:40 Novembris 14, 2009 01:40
I can't read the page ads are covering the text tested in IE 6,7 and 8, Firefox, Opera, and Safari. Es nevaru lasīt lapas reklāmas kas pārbauda tekstu 6,7 IE un 8, Firefox, Opera un Safari. The page can only be displayed so you can read it in IE 6 which makes it unreadable to anyone running Vista or higher. Lapā var tikai tikt parādītas tā, jūs varat izlasīt IE 6, kas padara to izlasīt ikvienam rādīt Vista vai lielāks. The quick fix would be wrap the page in a div with an overflow see Ātri noteikt būtu wrap lapu div ar pārplūdes redzēt http://www.w3schools.com http://www.w3schools.com if you need help. Ja jums nepieciešama palīdzība.
August 31st, 2009 15:06 Augusts 31, 2009 15:06
good required is displayed labs izmaksa tiek paràdïts
August 4th, 2009 04:06 4 augusts 2009 04:06
dont design your site for ie only dont dizains jūsu vietni ti, tikai
June 29th, 2009 15:30 Jūnijs 29, 2009 15:30
View page in IE. View lapu IE. It displays correctly. Tā parāda pareizi.
April 3rd, 2009 23:10 3 aprīlis 2009 23:10
Your crappy website has ads overlaying the info!! Jūsu crappy vietnē ir reklāmas pārklājums info!
March 27th, 2009 22:24 27 marts 2009 22:24
no i cannot neviens i nevar
March 8th, 2009 07:06 8 marts 2009 07:06
the ads on this page make it very difficult to read your helpful information Šajā lapā reklāmu ir ļoti grūti lasīt jūsu noderīga informācija
January 19th, 2009 19:42 Janvāris 19, 2009 19:42
Thats nice. Thats nice.
Thankx a lot. Thankx lot.