I'm currently trying to change the background of my desktop through a script. I'm using Windows 10. Here's my script so far in a batch file :
@echo off
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d C:\Users\James\Downloads\
Wallpapers\Coding_Wallpapers\Wallpaper_08.bmp /f
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
The file path is definitely right because I pasted it into MS-DOS and it opened the correct image. As others have suggested online, I made sure the picture was a .BMP
Any help would be greatly appreciated.