Created
July 21, 2012 09:34
-
-
Save hostage/3155253 to your computer and use it in GitHub Desktop.
Change Windows wallpaper from a shell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%USERPROFILE%\Wallpaper.bmp" | |
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 0 | |
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0 | |
start /MIN /B %SystemRoot%\System32\RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment