Dos - Dynamic Variable

About

Dynamic Variable are managed by the interpreter in order to give access to environment variable but they are not variable in the way that you can't set them in order to change their value.

List

  • %CD%: the current directory
  • %errorlevel%: the actual exit code
  • %DATE% - expands to current date using same format as DATE command.
  • %TIME% - expands to current time using same format as TIME command.
  • %RANDOM% - expands to a random decimal number between 0 and 32767.
  • %CMDEXTVERSION% - expands to the current Command Processor Extensions version number.
  • %CMDCMDLINE% - expands to the original command line that invoked the Command Processor.
  • %HIGHESTNUMANODENUMBER% - expands to the highest NUMA node number on this machine.

Powered by ComboStrap