_SSVRNAME — Returns the filename of the current screen saver.

Syntax:
%_SSVRNAME

If no screen saver is defined, the value returned is *None*. Note that the returned filename will be quoted.

rem  Get the current screen saver filename:
set screensaver=%_ssvrname


See also: the SCRNSAVER command, which configures the screen saver; and the _SSVRTIME variable, which returns the current screen saver timeout value.