undefined

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Command Prompt - Variables

rem To read a variable, use %VARIABLE_NAME%
echo %TMP%

rem Example: the set command
rem Use the set command to set, read, and remove a variable
set X=13
set X
set X=
set X
set PROMPT=%USERNAME%@%COMPUTERNAME% $P$G
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content