954,157 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Windows XP - desktop variable

hey all,

im trying to write a perl program that will change the desktop background. I dont have much (read: any) background in working with windows environment variables, and am hoping that desktop image location is in fact one of these variables.

any advice on how to reference and edit these variables would be appreciated.

TIA
mukul

edit: this is in windows XP

kaiser<lucy>
Newbie Poster
13 posts since Nov 2004
Reputation Points: 10
Solved Threads: 1
 

Hi

You can do this with in Perl with Win32::API or with Win32::OLE using the object wscript!

Using Win32::OLE will allow you to change the background image without the need to a shut down! Win32::API will also allow for this, but unless you import 'Kernel32.dll' into your API, you will have to reboot for desktop image changes!

J!

demo
Newbie Poster
18 posts since Jan 2005
Reputation Points: 10
Solved Threads: 2
 

thank you! :D

kaiser<lucy>
Newbie Poster
13 posts since Nov 2004
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You