Monday, November 4, 2019

Change wallpaper with batch command

Create a new batch file, copy paste these commands into it then save it :

@echo off
REG ADD "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper /f /t REG_SZ /d "D:\test\test.png"
REG ADD "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallpaperStyle /f /t REG_SZ /d 5
RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters

Note :
- Change "D:\test\test.png" with your image path.

No comments:

Post a Comment