4 Aug
I just upgraded my favorite image viewer to IrfanView 3.91, and it came to my attention that since 3.90, Irfanview now has a command-line option to set an image as wallpaper. Since Irfanview can tile or resize the image, as well as automatically converting from any format to bitmap … it seems obvious that since you should already have IrfanView installed (seeing as it’s the fastest image viewer out there for Windows), the best choice for setting wallpapers is to use that.
So, here’s a little script to randomly pick a file and have IrfanView set it as wallpaper. Throw the script into your Scheduled tasks, or your startup folder … and you’re all set [
]
Seems like that should do it. Of course, that assumes you have nothing but images in that folder. If you wanted to select only .jpg files from a folder that had other things in it, you could do something like:
As a simple note, you can change the /wall=0 to 1 or 2 if you wish:
/wall=0 set it as wallpaper (centered)/wall=1 set it as wallpaper (tiled)/wall=2 set it as wallpaper (stretched)