两种方法更改桌面壁纸
2019-8-2 乱云飞 评论(0) 浏览(592) 标签: 批处理 更换桌面背景 桌面壁纸
@reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /d %~dp0ez.bmp /f@RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
---------------------------------------------------------
cd /
cd %~dp0copy ez.bmp C:\ez.bmp
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /V Wallpaper /D C:\ez.bmp /F
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
cmd /k