目录
法一
-
win+r 输入regedit进入注册表
-
找到HKEY_CLASSES_ROOT-Directory-Background-shell新建项Typora
-
默认值改为Open Typora
-
新建字符串值,名字为icon,值为你应用位置,比如我的F:\Typora\bin\typora.exe
-
在Typora下创建项,名为command,值为路径+%V,如我的F:\Typora\bin\typora.exe %V
-
至此,已经可以直接右键打开Typora了
法二
- 如果操作不过来,可以新建
temp.txt输入以下内容
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Typora]
@="Open Typora"
"icon"="F:\\Typora\\bin\\typora.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Typora\command]
@="F:\\Typora\\bin\\typora.exe %V"
- 把
temp.txt改名为temp.reg - 双击运行,就ok了
有用的话点个赞呗