Problème d'association de fichiers

Résolu/Fermé
sercassyl - Modifié par sercassyl le 2/12/2011 à 06:52
 Utilisateur anonyme - 2 déc. 2011 à 07:08
Bonjour,

Hier lorsque j'exécutais un fichier .exe il s'ouvrait systématiquement avec le blocnote.
J'ai effectué 2 manipulations trouvées sur le net (ci-dessous) et depuis ils s'ouvrent tous avec le scan de spybot search and destroy.



MANIP 1
J'ai copié coller le texte ci-dessous dans un blocnote, l'ai enregistré en .reg et l'ai exécuté.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile]
"EditFlags"=hex:d8,07,00,00
@="Application"

[HKEY_CLASSES_ROOT\exefile\shell]
@=""

[HKEY_CLASSES_ROOT\exefile\shell\open]
@=""
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shellex]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\{86F19A00-42A0-1069-A2E9-08002B30­309D}]
@=""

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"



MANIP 2
Dans panneau de configuration -> Option de dossiers -> Types de fichier. J'ai créer un type de fichier "EXE" (qui a écrasé celui déjà existant).



Quand j'utilise démarrer->Exécuter j'ai bien la boite de dialogue d'association de fichier (ouvrir avec). Mais si par exemple j'exécute "notepad" avec notepad.exe se trouvant dans mon répertoire WINDOWS alors le code du fichier "notepad.exe" s'ouvre dans le blocnote... Même comportement pour tous les autres exécutables.


Quelqu'un a une idée ?


Merci beaucoup d'avance !

Guillaume.


1 réponse

Bonjour,

Solution trouvée :

Quand on créer une type de dossier "exe" dans panneau de configuration -> Option de dossiers -> Types de fichier ; Il faut cliquer sur "Avancé" puis sélectionner "Application" dans la liste déroulante qui est apparue.

En espérant que cela aide.

Guillaume
0
ou alors, tu peux telecharger le fichier reg >>ICI
ou faire le fichier reg en y mettant ceci :

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"

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

[HKEY_CLASSES_ROOT\exefile]
@="Application"
"EditFlags"=hex:38,07,00,00
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell]

[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runas]

[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shellex]

[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PEAnalyser]
@="{09A63660-16F9-11d0-B1DF-004F56001CA7}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
0