How to set your background of your Window’s wallpaper using a *.bat file

Put the following code into your *.bat file (remember to change the path.bmp file to the location of your file (i.e., c:\Users\)):

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d path.bmp /f

RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

pause