title: Batch file to change desktop background only works sporadically or after spam opening batch. I would like help making it change immediately
body: <pre><code>@ECHO on
  
  CD C:\Users\User
  
  reg add &quot;HKEY_CURRENT_USER\Control Panel\Desktop&quot; /v Wallpaper /t REG_SZ /d C:\Users\User\Desktop\folder\Background1.png /f
  
  reg add &quot;HKEY_CURRENT_USER\Control Panel\Desktop&quot; /v TileWallpaper /t REG_SZ /d 0 /f
  
  RUNDLL32.EXE USER32.DLL, UpdatePerUserSystemParameters 1 True
  
  pause
  </code></pre>
  <p><em>The User and Folder names have been defaulted for readability</em></p>