windows右键增加打开Typora

转载请注明出处:https://blog.csdn.net/qq_39309348/article/details/108627944

目录

  1. windows右键新建菜单增加新建md文件
  2. windows右键增加打开Typora
  3. windows右键文件时通过Typora打开文件

法一

  • 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了

有用的话点个赞呗

  • 12
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 6
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值