![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-11-11 17:44 |
47,815 topics / 349,930 posts / today 0 new / 48,291 members |
| DOS批处理 & 脚本技术(批处理室) » Change desktop background |
| Printable Version 13,032 / 30 |
| Floor31 tvzml | Posted 2008-04-08 13:50 |
| 初级用户 Posts 67 Credits 157 | |
|
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 ] |
|
| Prev 1 2 3 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |