生活小常识之Windows右键打开

嗯…

写了一个脚本,没测试过,欢迎测试

代码为:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\IDAx86]
@="Open with IDA x86"
"Icon"="C:\\Program Files\\IDA 7.0\\ida.exe"

[HKEY_CLASSES_ROOT\*\shell\IDAx86\command]
@="C:\\Program Files\\IDA 7.0\\ida.exe %1"

[HKEY_CLASSES_ROOT\*\shell\IDAx64]
@="Open with IDA x64"
"Icon"="C:\\Program Files\\IDA 7.0\\ida64.exe"

[HKEY_CLASSES_ROOT\*\shell\IDAx64\command]
@="C:\\Program Files\\IDA 7.0\\ida64.exe %1"

补充:使用dnspy右键打开:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\dnSpyx86]
@="Open with dnSPy x86"
"Icon"="C:\\dnSpy\\dnSpy-x86.exe"

[HKEY_CLASSES_ROOT\*\shell\dnSpyx86\command]
@="C:\\dnSpy\\dnSpy-x86.exe %1"

[HKEY_CLASSES_ROOT\*\shell\dnSpyx64]
@="Open with dnSPy x64"
"Icon"="C:\\dnSpy\\dnSpy.exe"

[HKEY_CLASSES_ROOT\*\shell\dnSpyx64\command]
@="C:\\dnSpy\\dnSpy.exe %1"

参考资料:

Windows 为VSCode添加右键菜单项

制作右键菜单 快速用IDA打开

文章作者: 40m41h42t
文章链接: http://qrzbing.cn/2018/11/29/生活小常识之Windows右键打开/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 每天进步一点点