• WINDOWS > REGEDIT > ajouter un éxecutable dans le contexte du clic-droit

      DIRECTEMENT DANS LA BASE DE REGISTRE

      Pour un clic-droit sur un dossier

      [WIN] + [R] > regedit > HKEY_CLASSES_ROOT > Directory > shell

       

      Pour un clic droit sur un fichier de type txt

      [WIN] + [R] > regedit > HKEY_CLASSES_ROOT > txtfile > shell

       

      > nom_du_contexte

       

      > ajouter command

      VIA UN FICHIER .REG

      Pour un clic droit sur un dossier

      Windows Registry Editor Version 5.00
      
      [HKEY_CLASSES_ROOT\Directory\shell\NOM\command]
      @="c:\\monfichier.bat  \"%1\""

      Pour un clic droit sur un fichier de type txt

      Windows Registry Editor Version 5.00
      
      [HKEY_CLASSES_ROOT\txtfile\shell\NOM\command]
      @="c:\\monfichier.bat \"%1\""

      Relancer la base de registre sans redémarrer Windows

      - [CTRL] + [SHIFT] + [ESC]

       

      - Sélectionner Explorer > appuyer sur [SUPP]

       

      - Fichier > Nouvelle tâche > taper explorer

 

Aucun commentaire

 

Laissez un commentaire