作者:我的 | 来源:互联网 | 2023-06-20 17:55
这里我以将SublimeText3软件添加到鼠标右键菜单为例1.进入到sublimetext3的安装目录下2.新建txt文件,将以下内容复制进去[Version]Signature
这里我以将Sublime Text 3 软件添加到鼠标右键菜单
为例
1.进入到sublime text3的安装目录下
2. 新建txt文件,将以下内容复制进去
[Version]
Signature="$Windows NT$"
[DefaultInstall]
AddReg=SublimeText3
[SublimeText3]
hkcr,"*\\shell\\SublimeText3",,,"Open with sublimeText3 "
hkcr,"*\\shell\\SublimeText3\\command",,,"""%1%\sublime text.exe"" ""%%1"" %%*"
hkcr,"Directory\shell\SublimeText3",,,"Open with sublimeText3"
hkcr,"*\\shell\\SublimeText3","Icon",0x20000,"%1%\sublime text.exe, 0"
hkcr,"Directory\shell\SublimeText3\command",,,"""%1%\sublime text.exe"" ""%%1"""
3. 重命名该文件为sublime_addright.inf
4. 右键sublime_addright.inf文件 点击安装
5. 效果如图
这种方法可以随便添加软件的打开方式