1.

Solve : changing the desktop bg?

Answer»

does ANY1 know how to change the desktop bg using command promptif you got xp this works

@echo off
reg add "HKCU\control panel\desktop" /t REG_SZ /v Wallpaper /d %1 /f


%1 = Location of .bmp Example: c:\mybackround.bmp , not sure , but i think it has to be .bmp
and the next step , since its registry.. you have to restart explorer , you can do that with rundll32

RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters ,1 ,True

nevermind , you dont have to restart explorer .. just update user registry , ^ that worksI tryed that as both a batch file and imidate COMMANDS, it DIDNT work at all as imidate, but wen i made it a batch file, and RAN it, it first says the command was successfully completed then a box would COME up that says
Error in USER32.DLL
Missing Entry:UpdatePerUserSystemParameter,1,TrueHmm id also like to have this working, cant seem to get it though..What's the point of changing the background through the command prompt? Is it just a little faster or is this just an item of curiosity?Quote from: goodnatureddog on April 13, 2007, 10:13:04 AM

does any1 know how to change the desktop bg using command prompt

how should I learn dos from the very basicwww.google.com

You'll first have to learn that DOS is not the command prompt on XP. if you typed it .. the second part i mean , it looks like the comma is beside the s , it isnt.. theirs a space in it ,
if you have xp it should work , even if it doesent the wallpaper changes if the first part works .. just restart


Discussion

No Comment Found