Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
1  
Reg: location of files, refer: superuser.com/q/207852/4377 –  Sathya Feb 12 '11 at 9:08
1  
Also see this question for Windows 8: superuser.com/questions/507571/… –  Scott Bennett-McLeish Mar 19 '13 at 0:31

3 Answers 3

up vote 15 down vote accepted

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.

share|improve this answer
    
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

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

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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