配置文件夹右键菜单的打开方式
推荐使用的typora同款产品替换–markText
因typora软件收费,找到了相应的平替软件,目前在github上免费开源
marktext在github链接
软件名为markText。
目前这个软件有几个缺陷,但是平时用来看markdown文档还是够用了。目前官方版本没有汉化,只有英文版,但开发者说以后会支持国际版,应该以后会有汉化版本。
为了方便使用,有的笔记文档是个文件夹,一个一个打开或者先打开软件,在软件里面打开文件夹有的麻烦,自己百度了解右键文件夹配置打开文件夹的方式。
打开文件夹的配置
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\markText]
@="Open with markText"
"Icon"="E:\\markText\\MarkText.exe"
[HKEY_CLASSES_ROOT\*\shell\markText\command]
@="\"E:\\markText\\MarkText.exe\" \"%1\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\markText]
@="Open with markText"
"Icon"="E:\\markText\\MarkText.exe"
[HKEY_CLASSES_ROOT\Directory\shell\markText\command]
@="\"E:\\markText\\MarkText.exe\" \"%V\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\markText]
@="Open with markText"
"Icon"="E:\\markText\\MarkText.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\markText\command]
@="\"E:\\markText\\MarkText.exe\" \"%V\""
代码使用也很方便,在桌面新建一个txt文件,将代码拷贝进去,修改想要右键打开的软件位置,我的安装位置为E:\markText,需要精准到.exe文件。建议直接使用ctrl + H 进行全局替换,替换结束后,将文件后缀名改为.reg格式。然后双击这个reg格式的文件即可。这个时候右键一个文件夹就有对应的打开方式了。
例如图中的open with markText选项就是添加后的结果。如果需要其他软件打开文件夹也是类似的配置。
----------本文用于记录这个骚操作,便于以后有便携版软件可以用于添加右键菜单。