If your system did not originally set up the wallpaper display mode properly, then there is an additional rule below to display the wallpaper in stretch mode. When using it, pay attention to modifying the wallpaper storage path, and the wallpaper image must be in BMP format!
@echo off
rem The "Monday.bmp - Sunday.bmp" are stored in the Wallpaper directory
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /d .\Wallpaper\te:~11,4%.bmp /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallpaperStyle /d 2 /f
gpupdate /force
RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters
[ Last edited by tvzml on 2008-4-8 at 01:55 PM ]
@echo off
rem The "Monday.bmp - Sunday.bmp" are stored in the Wallpaper directory
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /d .\Wallpaper\te:~11,4%.bmp /f
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallpaperStyle /d 2 /f
gpupdate /force
RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters
[ Last edited by tvzml on 2008-4-8 at 01:55 PM ]
