0
reg add "HKCU\Control Panel\Desktop" /v Wallpaper /f /t REG_SZ /d wallpaper.bmp
reg add "HKCU\Control Panel\Desktop" /v WallpaperStyle /f /t REG_SZ /d 10
timeout /t 2 /nobreak
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters 
start audio.mp3
pause

I tried to change my background using a .bat file, and I created this code but it doesn't work, what did I do wrong? (this is my first time using batch files)

The wallpaper.bmp and audio.mp3 files are in the same path as the batch file.

DavidPostill
  • 7,734
  • 9
  • 41
  • 60
riozeno
  • 9
  • 1

0 Answers0