_VOLUME — Returns the master sound volume level.

Syntax:
%_VOLUME

The value returned is in the range 0 through 100.

rem  Display the current master volume level:
echo The master sound volume is at %_volume%%%.


See also: the SOUNDVOL command, which sets the master sound volume and mute state; and the _MUTE variable, which returns the current mute state.