jsyv,
Which application opens when you double-click a .jpeg file? I see Photo Editor is the default, but how come MSPaint opens by default? Perhaps you're using the "Open With" option and selected MSPaint?
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting
http://www.winhelponline.com
Hi jsyv,
As per the report, I see that the file name and the %1 param are correctly enclosed within double quotes.
- - -
[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
- - -
I don't have Photo Editor installed in my system to test. But, does applying the .JPEG file association fix (linked earlier) help? Note that it resets the association and makes Windows Picture and Fax Viewer as the default handler.
Regarding the double entry for mspaint, one of the Open With list entries for mspaint is listed here. This can be deleted.
- - -
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe"
- - -
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting
http://www.winhelponline.com
Per your instructions:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.JPEG] file type
Generated by FileExtInfo v2.0 on 5/21/2007 11:13:17 PM
FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage:
http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[HKEY_CLASSES_ROOT\.JPEG]
"PerceivedType"="image"
@="jpegfile"
"Content Type"="image/jpeg"
"old"="jpegfile"
[HKEY_CLASSES_ROOT\.JPEG\jpegfile]
[HKEY_CLASSES_ROOT\.JPEG\jpegfile\ShellNew]
[HKEY_CLASSES_ROOT\.JPEG\OpenWithList]
[HKEY_CLASSES_ROOT\.JPEG\OpenWithList\PhotoSnapViewer.exe]
[HKEY_CLASSES_ROOT\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):
[HKEY_CLASSES_ROOT\.JPEG\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\jpegfile]
@="JPEG Image"
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,33,00,30,00,33,00,00,00
"ImageOptionFlags"=dword:00000003
[HKEY_CLASSES_ROOT\jpegfile\CLSID]
@="{11943940-36DE-11CF-953E-00C0A84029E9}"
[HKEY_CLASSES_ROOT\jpegfile\DefaultIcon]
@="C:\\WINDOWS\\Installer\\{90280409-6000-11D3-8CFE-0050048383C9}\\PEicons.exe,5"
[HKEY_CLASSES_ROOT\jpegfile\shell]
[HKEY_CLASSES_ROOT\jpegfile\shell\open]
@="&Open"
[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,22,00,25,00,\
31,00,22,00,00,00,00,00
[HKEY_CLASSES_ROOT\jpegfile\shell\print]
@="&Print"
[HKEY_CLASSES_ROOT\jpegfile\shell\print\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /p \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
20,00,22,00,25,00,31,00,22,00,00,00,00,00
[HKEY_CLASSES_ROOT\jpegfile\shell\printto]
[HKEY_CLASSES_ROOT\jpegfile\shell\printto\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /pt \"%1\" \"%2\" \"%3\" \"%4\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
74,00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,\
00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00,00,00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.JPEG]
"ImageOptionFlags"=dword:00000003
[HKEY_CLASSES_ROOT\SystemFileAssociations\image]
"TileInfo"="prop
imensions;Type;Size"
"InfoTip"="prop
imensions;WhenTaken;DocTitle;DocComments;CameraModel;Type;Size"
"Details"="prop:Name;Type;Dimensions;Size;Write"
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList]
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\MSPaint.exe]
@=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\shimgvw.dll]
@=""
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell]
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command]
@=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,00,00
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print]
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,\
00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6d,00,\
61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,\
00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx]
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers]
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]
@="{e84fda7c-1d6a-45f6-b725-cb260c236066}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\PropertyHandler]
@="{eb9b1153-3b57-4e68-959a-a3266bc3d7fe}"
[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"a"="IEXPLORE.EXE"
"MRUList"="bcaed"
"b"="mspaint.exe"
"c"="PhotoEd.exe"
"d"="WINWORD.EXE"
"e"="pmview.exe"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):
"PhotoMeister Photo (jpeg)"=hex(0):
Thanks again in advance for your assistance, Ramesh.
- jsyv
Ramesh said:
Hi Jsyv,
1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm
2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select the corresponding file type (.jpg) from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting
http://www.winhelponline.com
Thanks for your patience and persistence, Ramesh.
Under HKEY_CLASSES_ROOT\.jpeg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data =(value not set)); b) OpenWithList\PhotoSnapViewer.exe
(both showing Data =(value not set)); c) OpenWithProgids (Name = jpegfile,
Type = REG_NONE, Data = (zero-length binary value)); d) PersistentHandler
(Data = {098f2470-bae0-11cd-b579-08002b30bfeb}).
Under HKEY_CLASSES_ROOT\.jpg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data (value not set)); b) OpenWithList (showing Data = (value
not set)); c) OpenWithProgids (Name = jpegfile, Type = REG_NONE, Data =
(zero-length binary value)); d) PersistentHandler (Data =
{098f2470-bae0-11cd-b579-08002b30bfeb}).
Is it likely that the PhotoSnapViewer.exe is somehow preventing the MSPaint
from executing these jpeg files on my desktop? I'm confused, because if
jpeg's are associated with PSV.exe, I don't understand why that program is
not opening when I double click on the jpeg files.
One other oddity which may be contributing to this issue: when I right click
on one of the desktop jpeg files and chosse the "open with" option, two
instances of Paint are shown; selecting one opens a blank file, while
selecting the other brings up the image file. Even if this issue is
unrelated, is there an easy method of removing the first (non-functioning)
instance of Paint in the open with dialog box?
Appreciatively,
Jsyv
Ramesh said:
You need to verify the values in the ProgID.
HKEY_CLASSES_ROOT\<ProgID>\shell\open\command
Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting
http://www.winhelponline.com
Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).
Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?
:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.
Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting
http://www.winhelponline.com
Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?
:
To start with, try applying the .jpeg file association fix from here: