There are some errors in your team:
- You have added the noecessarry
/ to add command. - You do not include the registry key name in quotation marks (for a space).
- You specified the wrong path (
WallPaper at the end).
This should do the trick:
reg add "HKCU\Control Panel\Desktop" /v Wallpaper /f /t REG_SZ /dc:\images\wallpaper.bmp
Of course, if there are spaces in the wallpaper path, you must also enclose it in quotation marks.
I also added the /f switch to force overwrite if the wallpaper is already installed.
refaim Oct 16 '11 at 10:00 2011-10-16 10:00
source share