Use the registry to right-click and open with a certain software (example is webstorm)

  • Run > regedit
  • HKEY_CLASSES_ROOT > * > Shell
  • Add item openWithWebStorm
  • The (default) value is Open via WebStorm
  • Create a new string value Icon whose value is your own webstorm address. This is C:\Users\AppData\Local\JetBrains\Toolbox\apps\WebStorm\ch-0\223.8617.44\bin\webstorm64.exe
  • Create a new item command under openWithWebStorm
  • (Default) value is "C:\Users\AppData\Local\JetBrains\Toolbox\apps\WebStorm\ch-0\223.8617.44\bin\webstorm64.exe" "%V"
  • Perform the same operation below HKEY_CLASSES_ROOT > Directory > Background > Shell
  • Perform the same operation below HKEY_CLASSES_ROOT > Directory > Shell
    Insert image description here
    Insert image description here

Guess you like

Origin blog.csdn.net/zx1091515459/article/details/129427751