Page 1 of 1

Need way to set Wallpaper variable??

Posted: 05 Feb 2015 06:27
by Xboxer
Edit: I think I have it figured out now, If not I will update my post
xboxer

Re: Need way to set Wallpaper variable??

Posted: 05 Feb 2015 08:13
by rojo
In Windows XP and earlier, you used to be able to refresh the desktop wallpaper with a rundll32 invocation of a user32.dll function. Not so since Vista. You'll probably have to invoke a PowerShell script. See this page for an example.

Re: Need way to set Wallpaper variable??

Posted: 06 Feb 2015 05:52
by Xboxer
I got it running from a batch file now but the powershell script also does the trick as well.
Thanks for your help..xboxer

rojo wrote:In Windows XP and earlier, you used to be able to refresh the desktop wallpaper with a rundll32 invocation of a user32.dll function. Not so since Vista. You'll probably have to invoke a PowerShell script. See this page for an example.

Re: Need way to set Wallpaper variable??

Posted: 10 Feb 2015 17:53
by julesverne
Would love to know what you came up with in regards to batch, if it's for Win 7.