1.

Solve : How do you make batch files change Wallpapers??

Answer»

I need some help with this.
When I login to my school account we have a default crappy wallpaper.We can change this by SETTING a bmp as the wallpaper in paint but that takes to long and the wallpaper gets reset anyway.I want to know how to make a batch FILE that will run in startup and change the wallpaper.Is this possible?ASk the admin.......Where are you Sidewinder? this is a small stab in the dark but...

cd C:\Documents and SETTINGS\%username%\Local Settings\Application Data\Microsoft

del wallpaper1.*
copy [wallpaperlocation\wallpapername] C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft
ren C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft[wallpapername] wallpaper1.bmp (or .jpg)

This would be for windows XP tho and I've never tried it but should work...you may have to refresh the desktop to see it if it was successfull.

the Local Settings folder is hidden so I don't know if that will affect the outcome of the batchJust curious, I am new to Batch, why use
%username%otherwise you have to use a static user folder. which if you are on multiple computers might/should be different.Ok, I know that much for the use of the %username

but what are the limitations of it? What does it mean...break it down for me please.%username% is the variable where the username of the current logged on user is.

ulito bring this into focus, open DOS windows and type in echo %username%

then have someone else logon and try it again, it will simply give the user name of the person logged on. Hence, when you're getting to your wall PAPER, the directory will change according to who is logged on...Thanks for the information.

Is the %username% variable a set variable within windows Configuration? and where do I get a list of other variables that exist?open command prompt and type

set

and it will give you a list of them



Discussion

No Comment Found