_WALLPAPER
— Returns the
filename of the current desktop wallpaper.
Syntax:
%_WALLPAPER
If no wallpaper is defined, the value returned is *None*
. Note
that the returned filename will be quoted.
rem Get the current wallpaper filename:
set wallpaper=%_wallpaper
• Note: If the wallpaper was converted
or resized by the WALLPAPER
command, the
return value will be the converted filename, not the original source file.
See also: the WALLPAPER
command, which sets the current wallpaper; and the
_WALLSTYLE
variable, which reports the
current wallpaper style.