bat脚本将Idea加入到右键菜单
2023-07-20 20:13:00

另存以下代码到idea.reg文件,双击运行即可

1
2
3
4
5
6
7
8
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\idea]
@="使用IDEA打开文件夹"
"Icon"="D:\\Program Files\\JetBrains\\IntelliJ IDEA 2022.3.2\\bin\\idea64.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\idea\command]
@="\"D:\\Program Files\\JetBrains\\IntelliJ IDEA 2022.3.2\\bin\\idea64.exe\" \"%V\""