Fluent Terminal 添加右鍵打開

添加鼠標右鍵菜單
新建文本,將以下腳本複製到文本中,另存爲Install.bat,雙擊打開Install.bat即可

 

reg add "HKCU\Software\Classes\Directory\shell\Open Fluent Terminal here\command" /d "\"%LOCALAPPDATA%\Microsoft\WindowsApps\flute.exe\" new \"%%1\"" /f

reg add "HKCU\Software\Classes\Directory\Background\shell\Open Fluent Terminal here\command" /d "\"%LOCALAPPDATA%\Microsoft\WindowsApps\flute.exe\" new \"%%V\"" /f

reg add "HKCU\Software\Classes\LibraryFolder\Background\shell\Open Fluent Terminal here\command" /d "\"%LOCALAPPDATA%\Microsoft\WindowsApps\flute.exe\" new \"%%V\"" /f
 

刪除鼠標右鍵菜單
操作同上,另存爲Uninstall.bat,命令如下:

reg delete "HKCU\Software\Classes\Directory\shell\Open Fluent Terminal here" /f

reg delete "HKCU\Software\Classes\Directory\Background\shell\Open Fluent Terminal here" /f
reg delete "HKCU\Software\Classes\LibraryFolder\Background\shell\Open Fluent Terminal here" /f

其中Open Fluent Terminal here 是右鍵顯示文字,如果出現中文亂碼,regedit 打開註冊表編輯器 ,複製路徑修改即

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章