For the benefit of anyone who has struggled and failed with this as I have on a number of occasions, I'd like to point out that setwallpaper will only work (on NT) if you already have a wallpaper set. If you don't have a wallpaper already in place you can issue setwallpaper commands til you're blue in the face and nothing will happen!

Alistair