Windows shell add item to context menu when click on blank part of folder

前端 未结 7 768
北海茫月
北海茫月 2020-12-24 02:22

Sorry if this has been asked before, I\'ve been looking around and it\'s hard to find what I want.

I know how to add a context menu item to a folder like so:

7条回答
  •  青春惊慌失措
    2020-12-24 02:45

    This can be achieved in XP as well. First open the program Run with the Windows key + R, and type Regedit in the textbox. Press Enter. In the Registry open the Key : HKEY_CLASSES_ROOT and then : * You will now see a key called : shell Rightclick on shell and point to New. Click in de menu on Key. Now type a name of your choice which you want to appear in the Rightclick menu. Rightclick on the name you chose, again point to New and click Key. Now type : command Click on command and in the right pane of the Registry doubleclick on (Default). In the textbox Value Data, type the path to an application you want to open via the chosen name in the rightclick menu. For example : "C:\Program Files\CCleaner\CCleaner.exe" Then type after the path : %1, and leave a space between the end of the path and %1 It should look like this :

    "C:\Program Files\CCleaner\CCleaner.exe" %1

    This way, it's possible to open any kind of application you want. There's only one drawback, you have to rightclick another file to see the chosen name with which you can open the application. When you rightclick a folder this will not work.

提交回复
热议问题