I added a nouveau fichier extension vers le windows compressed fichier using the following regedit script and it fonctionne perfectly (mostly)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.zab]
@="CompressedFolder"
"Content Type"="application/x-zip-compressed"
"DontCompressInPackage"=""
"PerceivedType"="compressed"
[HKEY_CLASSES_ROOT\.zab\OpenWithProgids]
"CompressedFolder"=""
[HKEY_CLASSES_ROOT\.zab\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
Maintenant Je veux change .zab fichier icônes to quelque chose different depuis le .zip icônes.
J'ai tried both DefaultProgramEditor and FileTypesMan programme to changez le icône but both change both zip and zab fichier extensions parce que they are both compressed fichier types aka share the same progID dans le registry.
How would I go about changing the icône for just the .zab extension? Existe-t-il un moyen de ajoutez un "sub progID" to compressed fichier tapez and ensuite assign .zab to that sub tapez and ensuite give it a nouveau icône?
Backstory: J'ai some audio books that I keep each book zipped and stored avec the ebook. Je veux use a specific programme to open and play this specific extension sans having to extract the entire book each time, but J'ai aussi want the ability to see inside the compressed fichier in windows explorer sans extracting. So oui I want zip and zab to be seen as compressed fichiers by Windows Explorer and the programme I use to listen vers lem avec, but I want an easy icône to easily see the zab fichiers.
J'ai found How to change the icon associated with a particular file format (and only that file format) on Windows 10? and https://learn.microsoft.com/en-us/windows/win32/shell/how-to-assign-a-custom-icon-to-a-file-type?redirectedfrom=MSDN but they ne seem to be quite what I want and found https://www.winhelponline.com/blog/change-default-icon-file-type-windows/ "It’s possible to changez le par défaut icône for a fichier tapez sans affecting other fichier types. To do that, you’ll need to créez un nouveau fichier class or ProgID for the fichier extension, and assign the par défaut icône dans le newly créé fichier class." but Je sun'est pas proficient enough to créer avec sans examples and once again this ne quite seem to fit as Je veux keep the fichier class the the same so that both function in explorateur de fichiers as compressed fichiers.
(edited all .zap to .zab, (dyslexia such fun /sarcasm) and maintenant you might understand why I'm so insistent on zab and zip having different icônes)