_WALLSTYLE — Returns the current wallpaper style.

Syntax:
%_WALLSTYLE

The style is returned as a string; possible values are Centered, Tiled, or Stretched.

rem  Check whether the wallpaper is stretched:
if "%_wallstyle" == "Stretched" echo The wallpaper is stretched to fit.


See also: the WALLPAPER command, which sets the current wallpaper; and the _WALLPAPER variable, which reports the current wallpaper filename.