返回> 网站首页
windows鼠标右键菜单、二级菜单 - 注册表
yoours2023-02-17 19:26:21
简介一边听听音乐,一边写写文章。
一、鼠标右键菜单、二级菜单(文件操作)
QT依赖打包:
上图有两种一直是直接点击可以操作,一种是二级菜单形式:
1. 直接操作
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Qt_mingw64\command]
@="D:\\Qt\\5.15.2\\mingw81_64\\bin\\windeployqt.exe %1"
2. 二级菜单操作
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.mingw81_64]
@="mingw81_64"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.mingw81_64\command]
@="D:\\Qt\\5.15.2\\mingw81_64\\bin\\windeployqt.exe %1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.mingw81_32]
@="mingw81_32"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.mingw81_32\command]
@="D:\\Qt\\5.15.2\\mingw81_32\\bin\\windeployqt.exe %1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.msvc2019_64]
@="msvc2019_64"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.msvc2019_64\command]
@="D:\\Qt\\5.15.2\\msvc2019_64\\bin\\windeployqt.exe %1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.msvc2019]
@="msvc2019"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.msvc2019\command]
@="D:\\Qt\\5.15.2\\msvc2019\\bin\\windeployqt.exe %1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.msvc2015_64]
@="msvc2015_64"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\soskp.WinDeployQt.msvc2015_64\command]
@="D:\\Qt\\5.15.2\\msvc2015_64\\bin\\windeployqt.exe %1"
[HKEY_CLASSES_ROOT\*\shell\WinDeployQT]
"position"=""
"subcommands"="soskp.WinDeployQt.mingw81_64;soskp.WinDeployQt.mingw81_32;soskp.WinDeployQt.msvc2019_64;soskp.WinDeployQt.msvc2019;soskp.WinDeployQt.msvc2015_64;"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\常用软件]
"subcommands"="yoours.qq;yoours.wechat;"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\yoours.qq]
@="QQ"
"Icon"="C:\\Program Files (x86)\\Tencent\\QQ\\Bin\\QQScLauncher.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\yoours.qq\command]
@="C:\\Program Files (x86)\\Tencent\\QQ\\Bin\\QQScLauncher.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\yoours.wechat]
@="微信"
"Icon"="C:\\Program Files (x86)\\Tencent\\WeChat\\WeChat.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\yoours.wechat\command]
@="C:\\Program Files (x86)\\Tencent\\WeChat\\WeChat.exe"