WinXP, Changing Wallpaper

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

WinXP, Changing Wallpaper

Post by nigma »

Does anyone know how to change a winxp wallpaper manually?

I'd like to write a little perl script that'll run on logon to switch background but I'm not sure how to do it.

Is there a config. file somewhere that tells windows which image to use as the bg or maybe just an image that is in a certain place and has a certain name gets used as the bg?

Thanks for any help provided.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it'd be in the registry.. uh... looks like it's at:

Code: Select all

HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper
it's a string, full path to the image..
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Thanks very much :)

Where did you find that? A microsoft website? I didn't have any success with my limited google searches.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I ran regedit and told it find wallpaper :D
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

well woopdee freakin doo!

heh, thanks, apreciate your resourcefulness on my behalf.
Post Reply