i've been searching online for a batch solution to change the desktop background of Windows 7 Ultimate 64 bits, and after several attempts, i could only get it to work once but never again...
I'm using this:
SET "str=C:\Users\Jorge\Dropbox\Photos\Wallpapers\1379362257639.jpg" reg add "HKCU\Control Panel\Desktop" /v Wallpaper /f /t REG_SZ /d %str% RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
On the "Costumize" window after i run that, the new background appears there, but Desktop won't refresh... why? Also, i confirmed registry key also changes to the path of the picture, and i've tried bmp extension.
The weird part is, if i run it multiple times, it finally randomly changes (to the correct image but randomly...) i don't know why?
Edit: It seems after 3rd/4th time running that same code, it finnaly changes.. ?