Complete List of all Environment Variables used as Command Line in Batch Script or in CMD eg; %date%

preview_player
Показать описание
Green Light Coding presents a new tutorial video which will show the complete list of environment variables used in Command Prompt and also can be used in batch script. These variables have vital applications you can go through the video and command lines given below.

So keep watching, & keep learning .

cmd
variables in batch script
batch script
batch scripting
batch file
_____________________________________________________________
Stay connected to us for more necessary coding tricks like these.
_____________________________________________________________

#coding
#cmd
#commandprompt
#windows
#user
#system
#scripting
#windows10
#exit
#basictutorials
#python
#pythontutorial
#pythonprogramming
#mathematics
#probability
#highlight
#highlighter
#graphics
#graphicdesign
#editingapps
#editor
#editingtutorial
#editing
#applications
#file
#edits
#coding
#compile
#ctutorials
#cmd
#code
#batchfile
#learning
#info
#simple
#functions
#notepads
#console
#programming
#programminglife
#coder
#programmers
#important
#brightness
#updates


code:

VARIABLE WINDOWS 10

%ALLUSERSPROFILE% C:\ProgramData

%APPDATA% C:\Users\{username}\AppData\Roaming

%COMMONPROGRAMFILES% C:\Program Files\Common Files

%COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files

%CommonProgramW6432% C:\Program Files\Common Files

%HOMEDRIVE% C:\

%HOMEPATH% C:\Users\{username}

%LOCALAPPDATA% C:\Users\{username}\AppData\Local

%LOGONSERVER% \\{domain_logon_server}

%PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem

%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:

%SystemRoot% C:\Windows

%TEMP% C:\Users\{username}\AppData\Local\Temp

%TMP% C:\Users\{username}\AppData\Local\Temp

%USERDOMAIN% Userdomain associated with current user.

%USERDOMAIN_ROAMINGPROFILE% Userdomain associated with roaming profile.

%USERNAME% {username}

%USERPROFILE% C:\Users\{username}

%WINDIR% C:\Windows

%PUBLIC% C:\Users\Public

%PSModulePath% %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\

%OneDrive% C:\Users\{username}\OneDrive

%DriverData% C:\Windows\System32\Drivers\DriverData

%CD% Outputs current directory path. (Command Prompt.)

%CMDCMDLINE% Outputs command line used to launch current Command Prompt session. (Command Prompt.)

%CMDEXTVERSION% Outputs the number of current command processor extensions. (Command Prompt.)

%COMPUTERNAME% Outputs the system name.

%DATE% Outputs current date. (Command Prompt.)

%TIME% Outputs time. (Command Prompt.)

%ERRORLEVEL% Outputs the number of defining exit status of previous command. (Command Prompt.)

%PROCESSOR_IDENTIFIER% Outputs processor identifier.

%PROCESSOR_LEVEL% Outputs processor level.

%PROCESSOR_REVISION% Outputs processor revision.

%NUMBER_OF_PROCESSORS% Outputs the number of physical and virtual cores.

%RANDOM% Outputs random number from 0 through 32767.

%OS% Windows_NT

SUBSCRIBE FOR MORE UPDATES LIKE THESE
_______________________________________________________________
_______________________________________________________________
Рекомендации по теме
Комментарии
Автор

I like to make own enviroment variables with the set command in the DosBox emulator using batch files.

maxmuster