List of Windows and DOS Command Prompt Environment Variables Sąrašas Windows ir DOS aplinkos kintamųjų
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 ir DOS (Command Prompt) turi keletą aplinkos kintamieji, kurie suteikia dinaminius vertes, kad pabrėžia, kad svarbu sistemos vietose arba parametrus. 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. Aplinkos kintamieji jei už programas ir partijos komanda scenarijus gauti tikrąją atskirų verčių būdu sistema keliai ir vartotojo nustatymų valdymas konfigūracija ir tvarkymo tikslais, išvengti sunkiai koduotų verčių naudojimas, kurios gali žlugti dėl kai kurių sistemų nustatymą atsižvelgiant į didelį įvairių konfigūracijos.
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. Patarimas: Batch file (. BAT arba. Cmd) taip pat naudoja aplinkos kintamieji laikyti laikino vertes nuoroda vėliau scenarijų, o taip pat perduoti duomenis ir nuostatas į vaiko procesai.
The table lists the common built-in environment variables in Windows operating system, together with their brief explanations and default values. Lentelėje pateikiamas bendras integruoto aplinkos kintamieji Windows operacinę sistemą, kartu su savo trumpai paaiškinti ir numatytąsias vertes. All environment variables is not case-sensitive. Visi aplinkos kintamieji nėra tam jautri.
| Variable Rodiklis | Usage Naudojimas | Windows XP Windows XP | Windows Vista and Windows 7 Windows Vista ir 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. Išplėsti į visą kelią iki Visi vartotojai profilis katalogas, kuriame yra tokių išteklių kaip klavišai meniu Pradėti ir darbalaukio visiems vartotojams. | {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. Turi visas kelias į Application Data aplanke prisijungusius vartotojas. | {SystemDrive}:\Documents and Settings\{username}\Application Data (SystemDrive): \ Documents and Settings \ (vartotojo vardas) \ Application Data | {SystemDrive}:\Users\{username}\AppData\Roaming (SystemDrive): \ Users \ (username) \ AppData \ Roaming |
| %CD% % CD% | Display current working directory or folder. Parodyti dabartinės darbo kataloge arba kataloge. | ||
| %ComputerName% % Kompiuterio% | {ComputerName} Kompiuterio () | {ComputerName} Kompiuterio () | |
| %CommonProgramFiles% % CommonProgramFiles% | Point to Common Files directory. Point Common Files kataloge. | {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. Prieinama tik 64 bitų (x64) Operacinės sistemos ir pasirinkite Common Files katalogo, 32-bit Program Files. | {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). Parodyti visas kelias iki procesoriaus komandų (cmd.exe, Windows NT, kurių OS ir Command.exe Windows 9x ir ME). | {SystemDrive}:\Windows\System32\cmd.exe (SystemDrive): \ Windows \ System32 \ cmd.exe | {SystemDrive}:\Windows\System32\cmd.exe (SystemDrive): \ Windows \ System32 \ cmd.exe |
| %Date% % Date% | Display current date in regional format. Rodyti dat regioniniame formatu. | ||
| %ErrorLevel% % ErrorLevel% | Point to current error level, normally used to check error returned from previous command. Point iki dabartinių klaidų lygį, kuris paprastai naudojamas tikrinti klaidą grįžo iš ankstesnių komandos. | ||
| %HomeDrive% % HOMEDRIVE% | Point to the drive for current signed on user's home folder. Atkreipti dėmesį į esamą pasirašytą vartotojo namų katalogą diske. | {SystemDrive}:\ (SystemDrive): \ | {SystemDrive}:\ (SystemDrive): \ |
| %HomePath% % HOMEPATH% | Point to the signed on user's home folder. Point pasirašė vartotojo namų kataloge. | {SystemDrive}:\Documents and Settings\{username} (SystemDrive): \ Documents and Settings \ (vartotojo vardas) | {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. Laikykite iš serverio, kuris patvirtintas dabartinio vartotojo calculation (vardas ir slaptažodis), paprastai savo kompiuterio arba domeno valdiklio kompiuterio vardą. | ||
| %Path% % PATH% | Contains a semicolon-delimited list of directories in which the command interpreter will search for executable files. Sudėtyje kabliataškiais atskirtas katalogų sąrašas, kuriame komandų interpretatorius ieškos vykdomąjį failą. | {SystemDrive}:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} (SystemDrive): \ Windows \ system32; C: \ Windows, C: \ Windows \ System32 \ Wbem; (plius programa takai) | {SystemDrive}:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;{plus program paths} (SystemDrive): \ Windows \ system32; C: \ Windows, C: \ Windows \ System32 \ Wbem; (plius programa takai) |
| %PathExt% % PathExt% | Contains a semicolor-delimited list of extensions which are defined as exectable. Sudėtyje semicolor atskirtas sąrašą plėtinių, kurie yra apibrėžiami kaip exectable. | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.WSF;.WSH . Com,. Exe;. GPGB;. CMD;. Vbs;. VBE;. AF;. WSF;. WSH | .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.msc . com,. Exe;. BAT;. 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. Point Program Files katalogo, kuriame saugomi visi įdiegta programa "Windows" ir kiti. | {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. Prieinama tik 64 bitų versija, kintamos jėgos užklausų į 32-bitų aplanką Program Files aplenkiant Windows ant Windows 64-bit peradresavimo. | {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. Prieinama tik 64 bitų versija, kintamos jėgos įėjimą į 64-bitų Program Files. | {SystemDrive}:\Program Files (SystemDrive): \ Program Files | {SystemDrive}:\Program Files (SystemDrive): \ Program Files |
| %Prompt% % Klausti% | Display code for current command prompt format. Parodyti kodas dabartinių komandų eilutės forma. | $P$G $ P $ G | $P$G $ P $ G |
| %Random% Atsitiktiniai%% | Return a random number between 0 and 32767. Atgal atsitiktinių skaičių nuo 0 iki 32.767. | ||
| %SystemDrive% % SystemDrive% | Point to the drive where the system folder is placed. Point diską, kuriame System dedamas. | C: ({SystemDrive} or any other drive letter) C: (SystemDrive () arba bet kuri kita disko raidė) | C: ({SystemDrive} or any other drive letter) C: (SystemDrive () arba bet kuri kita disko raidė) |
| %SystemRoot% % SystemRoot% | Display full path location of the system folder. | {SystemDrive}:\Windows (fomerly C:\WINNT and C:\WINNT35) (SystemDrive): \ Windows (fomerly C: \ WINNT ir C: \ WINNT35) | {SystemDrive}:\Windows (SystemDrive): \ Windows |
| %Temp% and%Tmp% % Temp% ir% tmp% | Point to temporary folder. Point laikinąjį aplanką. | {SystemDrive}:\Documents and Settings\{username}\Local Settings\Temp (SystemDrive): \ Documents and Settings \ (vartotojo vardas) \ Local Settings \ Temp | {SystemDrive}:\Users\{username}\AppData\Local\Temp (SystemDrive): \ Users \ (username) \ AppData \ Local \ Temp |
| %Time% % Time% | Display current time in regional format. Rodyti esamą laiką regioninės formatas. | ||
| %UserDomain% % UserDomain% | Hold the name of the Workgroup or Windows Domain to which the current user belongs. Laikykite, kad darbo grupė ar Windows Domain, kuriai šiuo metu priklauso vartotojas pavadinimą. | ||
| %UserName% % Username% | Display currently logged on active user's account identification name. Rodyti prisijungęs aktyvūs vartotojo sąskaita identifikavimas. | {UserName} (Username) | {UserName} (Username) |
| %UserProfile% % UserProfile% | Return location of the current user's profile directory as defined in HKCU registry hive (NTUSER). Atgal vietą Dabartinis vartotojo anketa katalogą, kaip apibrėžta HKCU registro avilio (NTUSER). | {SystemDrive}:\Documents and Settings\{username} (SystemDrive): \ Documents and Settings \ (vartotojo vardas) | {SystemDrive}:\Users\{username} (SystemDrive): \ Users \ (username) |
| %WinDir% % Windir% | Similar %SystemRoot% and point to Windows directory. Panašūs% SystemRoot% ir taškas į Windows katalogą. | {SystemDrive}:\Windows (C:\WINNT for previous OS and C:\WTSRV for NT4 Terminal Server Edition) (SystemDrive): \ Windows (C: \ WINNT ankstesnių OS ir C: \ WTSRV už NT4 Terminal Server Edition) | {SystemDrive}:\Windows (SystemDrive): \ Windows |
| %Public% % Viešasis% | Display full path to Public Application Data folder. Parodyti visas kelias į visuomenės Application Data aplanke. | {SystemDrive}:\Users\Public (SystemDrive): \ Users \ Public |
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- Comprehensive List of Command Prompt Keyboard Accelerators (Shortcut Keys) Išsamus sąrašas Command Prompt Klaviatūros Accelerators (klavišų kombinacijos)
- Reveal and Access to Windows Vista Hidden Context-Sensitive (Right Click) Menu Item – Open Command Prompt Here & Copy as Path Atskleisti ir prieigos prie "Windows Vista" Hidden Kontekstinės (Paspauskite dešiniu klavišu) Meniu punktas - Open Command Prompt Here & Kopijuoti, kaip Kelias
- Open Elevated Command Prompt Window Here as Administrator at Current Folder Directly in Vista Windows Explorer Atidarykite komandų eilutės langą Štai kaip administratorius Dabartinis katalogas Tiesiogiai Vista Windows Explorer
- Use TZUtil To Change Time Zone in Command Prompt in Windows 7 Naudokite TZUtil pakeisti laiko juostą į komandų eilutę Windows 7
- How to Open Elevated Command Prompt with Administrator Privileges in Windows Vista Kaip atidaryti komandų eilutę su administratoriaus privilegijos "Windows Vista"
- How to Disable or Enable Vista User Access Control in Command Prompt Kaip išjungti arba įjungti Vista User Access Control į Command Prompt
- How to Enable More Fonts for Windows Command Prompt Kaip įjungti papildomus šriftus Windows Command Prompt
- Create and Put an Elevated Command Prompt on Windows Vista Desktop or Start Menu Create ir Put komandų eilutę Windows Vista Desktop ar Start meniu
- Change Hard Disk Partition or Volume Label Name in DOS Command Prompt Keisti kietojo disko skirsnio arba tomas etiketės DOS
- Run Command Prompt in Multiple Tabs Run Command Prompt į keletą skirtukų










































November 26th, 2009 18:21 26 lapkritis 2009 18:21
Am having problem with the environment viraiables Man kyla problemų su aplinka viraiables
because i have been deleted all my viariables and values by mistake nes man buvo išbraukti visas mano viariables ir vertybes klaidą
Help me if u have solution for this issue Help me if u turi sprendimą šiuo klausimu
its sticking my life jos nepriliptų mano gyvenime
PLEASE!!!!!!!!!!!!!!!! PLEASE !!!!!!!!!!!!!!!!
Panit and such as cmd are fully not working. Panit ir kaip cmd yra visiškai neveikia.
THANKS IN ADVANCE!!!!!!! Thanks in Advance !!!!!!!
MY OS 7 Ultimate. MANO OS 7 Ultimate.
November 26th, 2009 13:59 26 lapkritis 2009 13:59
crappy web with bogus adds Crappy internete su fiktyviais priduria
November 14th, 2009 01:40 14 lapkritis 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. I can't read puslapis skelbimai apimantis teksto bandomas IE 6,7 ir 8, Firefox, Opera ir 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. Puslapis gali būti rodomi tik tada, kad galėtumėte jį perskaityti IE 6, kuri leidžia perskaityti visiems veikia Vista "arba didesnė. The quick fix would be wrap the page in a div with an overflow see Greitai nustatyti būtų WRAP puslapis div su overflow pamatyti http://www.w3schools.com http://www.w3schools.com if you need help. Jei jums reikia pagalbos.
August 31st, 2009 15:06 31 rugpjūtis 2009 15:06
good required is displayed geras reikalingas rodomas
August 4th, 2009 04:06 4 rugpjūtis 2009 04:06
dont design your site for ie only Dont dizaino jūsų svetainę, ty tik
June 29th, 2009 15:30 29 birželis 2009 15:30
View page in IE. Rodyti puslapį IE. It displays correctly. Tai rodo teisingai.
April 3rd, 2009 23:10 3 balandis 2009 23:10
Your crappy website has ads overlaying the info!! Jūsų Crappy svetainė skelbimai padengtos info!
March 27th, 2009 22:24 Kovas 27, 2009 22:24
no i cannot no i can't
March 8th, 2009 07:06 8 kovas 2009 07:06
the ads on this page make it very difficult to read your helpful information Šiame puslapyje reklamos labai sunku skaityti naudingos informacijos
January 19th, 2009 19:42 19 sausis 2009 19:42
Thats nice. Thats nice.
Thankx a lot. Thankx aikštelė.