本帖最后由 flashercs 于 2025-1-24 14:28 编辑
这是人干的活吗?多一个.reg文件怎么了?- @echo off
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\CopyContent" /v "Icon" /t REG_SZ /d "DxpTaskSync.dll,-52" /f
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\CopyContent" /v "MUIVerb" /t REG_SZ /d "复制内容到剪切板" /f
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\CopyContent\Command" /ve /t REG_SZ /d "mshta vbscript:createobject(\"shell.application\").shellexecute(\"cmd.exe\",\"/c clip ^< \"\"%%1\"\"\",\"\",\"open\",0)(close)" /f
-
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\GetHash" /v "Icon" /t REG_SZ /d "imageres.dll,-5372" /f
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\GetHash" /v "MUIVerb" /t REG_SZ /d "获取哈希值" /f
- reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\GetHash\Command" /ve /t REG_SZ /d "mshta vbscript:createobject(\"shell.application\").shellexecute(\"powershell.exe\",\"-noexit write-host '\"\"%%1\"\"';$args = 'md5', 'sha1', 'sha256', 'sha384', 'sha512', 'mactripledes', 'ripemd160'; foreach($arg in $args){get-filehash '\"\"%%1\"\"' -algorithm $arg ^| select-object algorithm, hash ^| format-table -wrap}\",\"\",\"open\",3)(close)" /f
-
- pause
复制代码
|