Kontextmenü - Eintrag taucht nicht auf

cumulonimbus8

Fleet Admiral
Registriert
Apr. 2012
Beiträge
18.381
Hallo!

Ausgerechnet .JPGs möchte ich mit einer besonderen Funktion bedienen (im Beispiel Trabert tituliert). Lästigerweise pfuscht mir 10 ewig ins Handwerk mit Dateizuordnungen… Unter XP erst recht, auch unter 8 noch war es unproblematisch Bild-Dateitypen einzeln zu greifen um das Kontextmenü zu kontrollieren, hier kommt alles in den einen Topf, gebündelt auf ein Programm. Also auch Kontextmenüs aller anderer Bild-Typen (die an jenes Prog gebunden wurden) bekommen nun diese Extrafunktion.

Nun kommt das Sahnehäubchen: alle Bildformate haben Trabert im Kontextmenü - nur und ausgerechnet .JPG nicht! (.JPEG seltsamerweise auch [nicht].)
.JPG und .JPEG unterscheiden sich von .BMP, .GIF, .PNG, .TIF (siehe Reg-Exporte) nur dadurch, dass nur ein Eintrag unter OpenWithProgids existiert. Andere die sich finden sind die oben angesprochenen Alteinträge (unter 8 damals), bloß laufen die an verschiedene Stellen und ins leere. Hier mal die Reg-Exporte:

JPEG & JPG
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpeg]

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpeg\OpenWithList]
"a"="ab"
"MRUList"="cab"
"b"="a"
"c"="Psp.exe"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpeg\OpenWithProgids]
"PSP5.Bild"=hex(0):

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpeg\UserChoice]
"Hash"="1RM4DUSZMIk="
"ProgId"="Applications\\Psp.exe"

------------------

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg]

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithList]
"a"="Psp.exe"
"MRUList"="a"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithProgids]
"PSP5.Bild"=hex(0):

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\UserChoice]
"Hash"="b6uNt0vtCRg="
"ProgId"="Applications\\Psp.exe"
PSP ist das gute, alte PaintshopPro5.

Und nun wo sich alles unter KHCR einfindet:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\PSP5.Bild]
@="Paint Shop Pro 5 Bild"

[HKEY_CLASSES_ROOT\PSP5.Bild\CLSID]
@="{84124FF1-5D04-11D1-A575-00A0C96F2B0D}"

[HKEY_CLASSES_ROOT\PSP5.Bild\DefaultIcon]
@="J:\\ANW\\PAINTS~1\\Psp.exe,1"

[HKEY_CLASSES_ROOT\PSP5.Bild\Insertable]
@=""

[HKEY_CLASSES_ROOT\PSP5.Bild\protocol]

[HKEY_CLASSES_ROOT\PSP5.Bild\protocol\StdFileEditing]

[HKEY_CLASSES_ROOT\PSP5.Bild\protocol\StdFileEditing\server]
@="J:\\ANW\\PAINTS~1\\Psp.exe"

[HKEY_CLASSES_ROOT\PSP5.Bild\protocol\StdFileEditing\verb]

[HKEY_CLASSES_ROOT\PSP5.Bild\protocol\StdFileEditing\verb\0]
@="&Edit"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell]

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\open]

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\open\command]
@="J:\\ANW\\PAINTS~1\\Psp.exe /dde"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\open\ddeexec]
@="[open(\"%1\")]"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\print]

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\print\command]
@="J:\\ANW\\PAINTS~1\\Psp.exe /dde"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\print\ddeexec]
@="[print(\"%1\")]"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\printto]

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\printto\command]
@="J:\\ANW\\PAINTS~1\\Psp.exe /dde"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\printto\ddeexec]
@="[printto(\"%1\",\"%2\",\"%3\",\"%4\")]"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\Trabert]
@="Trabert"

[HKEY_CLASSES_ROOT\PSP5.Bild\shell\Trabert\command]
@=hex(2):63,00,3a,00,5c,00,77,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,73,\
  00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6d,00,64,00,2e,00,\
  65,00,78,00,65,00,20,00,2f,00,63,00,20,00,74,00,72,00,61,00,62,00,65,00,72,\
  00,74,00,2e,00,62,00,61,00,74,00,20,00,22,00,25,00,31,00,22,00,00,00

{c:\windows\system32\cmd.exe /c trabert.bat "%1"}
Der Inhalt der Batch ist nicht weiter spannend.

Wie also kann es sein, dass das mit BMP klappt und mit JPG nicht? Hier BMP, zum Vergleich:
Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.bmp]
@="PSP5.Bild"
"Content Type"="image/bmp"
"PerceivedType"="image"

[HKEY_CLASSES_ROOT\.bmp\OpenWithList]

[HKEY_CLASSES_ROOT\.bmp\OpenWithList\MSPaint.exe]
@=""

[HKEY_CLASSES_ROOT\.bmp\OpenWithProgids]
"AppX43hnxtbyyps62jhe9sqpdzxn1790zetc"=hex(0):
"AppXvhc4p7vz4b485xfp46hhk3fq3grkdgjg"=hex(0):
"LibreOffice.Bmp"=" "
"Microsoft.PhotoManager.imagetype"=""
"Paint.NET.1"=""
"Paint.Picture"=""

[HKEY_CLASSES_ROOT\.bmp\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.bmp\ShellNew]
"ItemName"=hex(2):40,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,2c,00,\
  2d,00,35,00,39,00,34,00,31,00,34,00,00,00
"NullFile"=""
Was in JPEG und JPG unterdrückt den gemeinsamen Kontextmenü-Eintrag der in HKCR lauert? Das wären wenigstens noch eine denkbare Begründung…

CN8


2016-01-02 13-25-49
Hat niemand eine Idee? Mittlerweile verweigert sich auch PNG…

Ergänzung
.BMP, .GIF, .TIF haben eine Gemeinsamkeit: sie werden in der selben PSP5-Instanz geöffnet (was unter 98 oder XP Usus war). .JPG, .JPEG, .PNG indessen werden stets je Bild als einzelne PSP-Instanz geöffnet. Und die 3 fehlen im Kontextmennü. Folgerung: es muss eine andere Startrampe als für die ersten 3 geben. Witzigerweise (verrückterweise?!) zeigen sie aber allesamt das Icon das unter PSP5.Bild zu finden ist.
Wo steckt diese vermaledeite Startrampe; was (plumpe Idee) zerlegt dort auch /dde?
 
Zuletzt bearbeitet:
Zurück
Oben