Reputation: 1375
Is there any way to get the current wallpaper file name in Windows 7 (perhaps through a dll call) when it's shuffling randomly between many wallpapers?
I have many backgrounds set to randomly change after a few minutes and I would like to remove ones that come up that I don't like from the list. It would save me a lot of time if I could just ask windows what the filename of the wallpaper is that it's currently displaying.
Upvotes: 1
Views: 1051
Reputation: 896
I know its a bit old question, but there is another solution to the problem:
@echo off
echo.
echo The path to the current Desktop background image is:
echo.
REG QUERY "HKCU\Software\Microsoft\Internet Explorer\Desktop\General" /v WallpaperSource
pause
exit
Hope it helps to somebody.
BTW: how could I get that return string into parameter of delete?
Upvotes: 1