讓綠色版 Notepad++ 出現在檔案/資料夾右鍵選單,直接右鍵開啟:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Notepad++ Portable] @="Notepad++ Portable" [HKEY_CLASSES_ROOT\*\shell\Notepad++ Portable\Command] @="F:\\Program Files\\Notepad++\\notepad++.exe %1"
Windows Registry Editor Version 5.00HKEY_CLASSES_ROOT\*\shell:所有檔案類型的右鍵選單根節點。Notepad++ Portable,預設值為選單顯示名稱。Command 子機碼,預設值為執行指令,%1 代表被右鍵點擊的檔案路徑。將以上內容存為 np.reg 雙擊匯入即時生效。同理可部署任何綠色軟體。