The location for the various wallpapers that come with Windows 7 is
%SYSTEMROOT%\Web\Wallpaper%. The
Windows
environment variable %SYSTEMROOT% usually points to
C:\Windows, but you can check its value on a particular
system from a command prompt with echo %SYSTEMROOT%.
C:\Users\Pamela>dir %SYSTEMROOT%\Web\Wallpaper
Volume in drive C is OS
Volume Serial Number is 4445-F6ED
Directory of C:\Windows\Web\Wallpaper
11/04/2011 01:00 AM <DIR> .
11/04/2011 01:00 AM <DIR> ..
11/21/2010 02:16 AM <DIR> Architecture
11/21/2010 02:16 AM <DIR> Characters
11/04/2011 01:00 AM <DIR> Dell
11/21/2010 02:16 AM <DIR> Landscapes
11/21/2010 02:16 AM <DIR> Nature
11/21/2010 02:16 AM <DIR> Scenes
11/21/2010 02:16 AM <DIR> Windows
0 File(s) 0 bytes
9 Dir(s) 863,115,665,408 bytes free
C:\Users\Pamela>echo %SYSTEMROOT%
C:\WindowsThe location of the current wallpaper for the currently logged on user
can be found by a reg query command.
C:\Users\Pamela>reg query "HKEY_CURRENT_USER\Control Panel\Desktop" /v WallPaper
HKEY_CURRENT_USER\Control Panel\Desktop
WallPaper REG_SZ C:\Users\Pamela\AppData\Roaming\Microsoft\Windows\Themes\TranscodedWallpaper.jpgIf you pick an image you want to use for wallpaper, it will be copied to the
location in the above registry key and renamed
TranscodedWallpaper.jpg, which allows you to modify the original
image without changing the wallpaper, but may seem confusing if you are
expecting the file name to be the same as it was for the original image you
selected for the wallpaper.
