当前位置: 代码迷 >> 综合 >> Fluent Terminal 添加右键打开
  详细解决方案

Fluent Terminal 添加右键打开

热度:24   发布时间:2023-12-14 05:34:18.0

添加鼠标右键菜单
新建文本,将以下脚本复制到文本中,另存为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 打开注册表编辑器 ,复制路径修改即

  相关解决方案