|
在你的提示下,终于完成注册表方法:
::【右键添加-复制路径(Shif 顶部)】
@echo off
::【删除右键】
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\复制路径" /f
::【安装右键】
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\复制路径" /ve /d "复制路径" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\复制路径\command" /ve /d "mshta vbscript:clipboarddata.setdata(\"text\",\"%%1\")(close)" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\复制路径" /f /v "Icon" /t REG_SZ /d "%~dp0图标.ico"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\复制路径" /f /v "Position" /t REG_SZ /d "top" %【菜单在顶部】%
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shell\复制路径" /f /v "Extended" /t REG_SZ /d "" %【 Shif 可见】%
exit
|
|