Computing.Net > Forums > Programming > Batch to change desktop wallpaper?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch to change desktop wallpaper?

Reply to Message Icon

Name: deadhell
Date: February 21, 2007 at 05:49:42 Pacific
OS: XP
CPU/Ram: 512
Comment:

I've tryed searching all over the google but can not find it.
Could someone please write me a batch script to change my desktop wallpaper when ran.

i.e. a special named image file next to the file its self or in a specialy directory i.e. windows etc

I't would be a great help!



Sponsored Link
Ads by Google

Response Number 1
Name: tonysathre
Date: February 21, 2007 at 10:41:43 Pacific
Reply:

Modify the path to suit your needs:

::==chwallpaper.bat
@echo off
reg /add HKCU\Control Panel\Desktop\WallPaper /v wallpaper /t REG_SZ /d c:\images\wallpaper.bmp


You may need to refresh the desktop for the changes to take effect.

"Computer security." — Oxymoron


0

Response Number 2
Name: deadhell
Date: February 21, 2007 at 11:59:01 Pacific
Reply:

I got someone else to try it but it didn't seem to work.

I was unable to run it on my computer as it said access denied. I don't supose you know of a way on how to grant me access again. This is my computer and started saying that around a few month ago...


0

Response Number 3
Name: tonysathre
Date: February 22, 2007 at 12:51:09 Pacific
Reply:

Are you running as a privileged user, such as Admin? You may have to open regedit and change the permissions on that subkey to allow your user to modify it.

"Computer security." — Oxymoron


0

Response Number 4
Name: deadhell
Date: February 22, 2007 at 13:11:03 Pacific
Reply:

I am Admin yes, that is the strange thing.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch to change desktop wallpaper?

Using batch to change date format www.computing.net/answers/programming/using-batch-to-change-date-format/16172.html

batch to create desktop shortcut www.computing.net/answers/programming/batch-to-create-desktop-shortcut/5568.html

Force Windows to redraw desktop www.computing.net/answers/programming/force-windows-to-redraw-desktop/3259.html