Special variables: Difference between revisions

Content deleted Content added
Franck (talk | contribs)
Simple9371 (talk | contribs)
No edit summary
Line 398: Line 398:
@wparam% The WPARAM value (for use with ON MOUSE, ON MOVE and ON SYS)
@wparam% The WPARAM value (for use with ON MOUSE, ON MOVE and ON SYS)
</pre>
</pre>

=={{header|Batch File}}==
By typing the <pre>SET</pre> command (without any parameters) in the command prompt, it will display the current environment variables and their current values.<br><br>
However, there are some special variables that are not listed in the variables displayed by the SET command because their values might change over time. These variables are as follows:<br>
<pre>%CD% - expands to the current directory string.

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

%ERRORLEVEL% - expands to the current ERRORLEVEL value

%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.
</pre>
(Source: by typing <pre>set /?</pre> command in the command prompt)


=={{header|bc}}==
=={{header|bc}}==