The download link at the end of this article points to a vb script that shows the pic used for the current wallpaper in Win8 and 10.

I once found a batch file that did similar for Windows 7 but for reasons that some people here might know, it doesn’t work after that version.

But anyway if you want to know what pic is being used as the current background, this should do it.