16

I have Windows 7 displaying random images every minute from all of my photo directories and every so often there is one I really want to see again.

How can I either always display on the screen the image path/filename? Or perhaps I could simply look at a registry setting or something at the time the image is being displayed to find out the image path / filename?

25

I am not sure if this works on every version of Windows 7 but on my Windows 7 Ultimate 64-bit it does. I also did not test this out when changing themes. If I manually changed the background picture or select a folder of pictures to slideshow through then the registry value that I query below seems to always be updated with the path to the current image.

There are several ways to make this better (like automatically opening Windows Explorer to the folder the picture is in or launching the picture directly) but this could get you started.

I created a batch file on my Desktop named path2pic.bat and had the following code in there:

@echo off

echo.

echo The path to the current Desktop background image is:

echo.
echo.

REG QUERY "HKCU\Software\Microsoft\Internet Explorer\Desktop\General" /v WallpaperSource

echo.
echo.

pause

exit

Then I created a shortcut to the batch file, assigned a Shortcut Key like Ctrl+Shift+P to it, and any time I want to know the path to the image I press the Shortkut Keys and the batch file shows me the path.

  • Yep that works great. Thanks. – Scott Bennett-McLeish Feb 13 '11 at 3:42
  • Great, well done! I'd just remove the final exit call, so to keep the console open. In the likely scenario where wallpaper changes from time to time, if you inadvertently press a key and then wallpaper changes, the info is lost. – superjos Jun 10 '12 at 10:09
  • A while back I posed the same question for Windows 8 after migrating to it. There's a different answer so worth taking into consideration: superuser.com/questions/507571/… – Scott Bennett-McLeish Mar 19 '13 at 0:31
  • If I remove @echo off it works. Windows 7 ultimate. – Olivier Pons Oct 31 '13 at 8:33
  • This trick does Not work anymore. It always says WallpaperSource REG_SZ C:\WINDOWS\web\wallpaper\Windows\img0.jpg – thenonhacker Feb 24 '15 at 9:09
12

The path to the current Wallpaper is located in the following register key:

HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper 

Open the start menu and in the search box, type "regedit". Navigate to the above key throught the registry explorer on the left. When you single click the "Desktop" folder, at the right, a list with keys will be displayed. Look for the one that's titled "Wallpaper". The value will be the location of the current wallpaper.

  • Not working in Win 10. Gives the path to a "Transcoded" Wallpaper! – ps95 Oct 12 '16 at 19:48
4

Here's a solution that locates the current wallpaper and show it in Windows Explorer:

How to Add “Desktop Background File Location” Option to Desktop Right-Click Menu in Windows 7 http://www.winhelponline.com/blog/desktop-background-file-location-right-click-menu-windows-7/

enter image description here

enter image description here

2

copy "C:\Users\test\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper" to image.jpg

'test' is your user name, image.jpg is the current image in the slide.

  • That might save the image, but it does not answert the "How could I find out the path to the current desktop image ?" part. – Hennes Aug 29 '16 at 12:07
  • Please read the question again carefully. Your answer does not answer the original question. – DavidPostill Aug 29 '16 at 17:59
  • Worked for me on Windows 10, thanks! You can then try using "Google Search by Image" to find the original source. – intrepidis Jan 14 '17 at 11:35
0

BioniX Background Wallpaper Changer might be your answer:

  1. how can I always display on the screen the image path/filename?

Bionix can show the name of the current wallpaper. But you have to activate "Show wallpaper name on desktop" in Settings:

enter image description here

  1. there is one I really want to see again

Bionix can take you back to any previous image what you had as desktop background (just press the "Previous wallpapers" button):
enter image description here

It can also do the third thing - that you haven't requested but I guess you might need it. It can help you with the image management. For example you can delete (Recycle Bin) with a single click an wallpaper that you don't like, as soon as you see it on your desktop.

0

Windows wallpaper images live in C:\Windows\Web\Wallpapers and you need to give Administrator permission to add, delete or move images.

New contributor
Keith Grover is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.