使用鼠标右键单击拖放文件时,我需要在上下文菜单中添加项目。
我可以设法在注册表中添加项目,只需右键单击文件即可,但拖动到另一个文件夹时则不能。
This is what I'm using just for the right click and works fine.
[HKEY_CLASSES_ROOT\*\shell\TrimResizePicture]
@="Players/Pictures Trim Resize to *x1500"
"Icon"="C:\\cmd_Scripts\\photo2.ico,0"
[HKEY_CLASSES_ROOT\*\shell\TrimResizePicture\command]
@="\"C:\\cmd_Scripts\\resize_trim_picture.bat\" \"%1\""
This is what I've tried for drag and drop right click, and is not working.
[HKEY_CLASSES_ROOT\*\shellex\DragDropHandlers\TrimResizePicture]
@="Players/Pictures Trim Resize to *x1500"
"Icon"="C:\\cmd_Scripts\\photo2.ico,0"
[HKEY_CLASSES_ROOT\*\shellex\DragDropHandlers\TrimResizePicture\command]
@="\"C:\\cmd_Scripts\\resize_trim_picture.bat\" \"%1\""
这是我需要添加内容的菜单
谢谢