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

前端 未结 7 756
北海茫月
北海茫月 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:58

    According to my personal experience of Windows XP (SP3), you can open Console2 inside the current directory with a context menu entry using the following .reg file:

    
      Windows Registry Editor Version 5.00 
    [HKEY_CLASSES_ROOT\Folder\shell\console2]
    @="Console2 Here"
    [HKEY_CLASSES_ROOT\Folder\shell\console2\command]
    @="C:\Program Files\Console\console.exe -d \"%1\""


    If you look at the key value inside regedit.exe , you should see:

    C:\Program Files\Console\console.exe -d "%1"
    


    instead of:

    C:\Program Files\Console\console.exe -d ""%1"" 
    

    The latter would open Console2 in its default start directory.

提交回复
热议问题