Saved Bookmarks
| 1. |
Solve : Set Wallpaper.? |
|
Answer» How can I set an image as my wallpaper using a batch?Directly? I doubt it. There is a .cpl file and there may be a place to find the required syntax. Quote from: Boozu on SEPTEMBER 24, 2009, 04:05:45 PM How can I set an image as my wallpaper using a batch?If this is for your own amusement you can do this: 1. ind a web site with a nice image and set it as you wallpaper 2. Look for it in the folder c:\windows\web\wallpaper\ 3. if you overwrite that image it will become the new wallpaper when the system is reset. I never knew that! Lol, nice TRICK!I have a more efficient way involving the registry. I will post tomorrow.Why would someone use the registry just to change their wallpaper. They would probably do something they're not SUPPOSED to and screw their computer. It is meant as a joke but not to Quote screw their computer.Quote from: Boozu on September 25, 2009, 05:06:37 AM It is meant as a joke but not toI meant doing stuff in the registry can be potentially bad. I deleted some registry keys, but it was to see all the extensions. Code: [Select]@echo off REM Configure Wallpaper Echo Registry: Wallpaper (1 of 3) REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "%SystemRoot%\energybliss.bmp" Echo Registry: WallpaperStyle (2 of 3) REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 0 Echo Registry: TileWallPaper (3 of 3) REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 2 REM Make the changes effective immediately Echo Updating system %SystemRoot%\System32\RUNDLL32.EXE user32.dll, UpdatePerUserSystemParameters Centred Tiled Stretched WallpaperStyle 0 0 2 TileWallpaper 0 1 0 If you change the PATH/filename of the bmp to "%1" you can then put the script into your Send To folder & thereafter right click on a bmp and set it as your wallpaper. You could have 3 different scripts called stretch, tile, and centre -wallpaper.bat maybe? Quote from: Helpmeh on September 25, 2009, 03:14:50 PM I meant doing stuff in the registry can be potentially bad. I deleted some registry keys, but it was to see all the extensions. you have no idea what your talking about. if it's done through a batch command it's not going to "mutate" and suddenly change a totally different key.Doing stuff with a kitchen knife can be "potentially bad", if that includes plunging it into your mother-in-law, and carelessness can result in bleeding fingers, but that does not make the practice of cookery a bad thing. exactly, same thing with gophers... they make great garden tools if you staple them to a stick, but they make crummy eating utensils. But that doesn't make them.... hey WAIT a second what was my point? anyway, the value: HKEY_CURRENT_USER\Control Panel\Desktop\WallPaper contains the full path to the desktop wallpaper. |
|