|
|
reg add "HKCR\DesktopBackground\shell\OpenMoreRegedit" /f /ve /t REG_EXPAND_SZ /d "编辑 Hosts"
reg add "HKCR\DesktopBackground\shell\OpenMoreRegedit" /f /v "Icon" /t REG_EXPAND_SZ /d "C:\Windows\System32\mshta.exe,1"
reg add "HKCR\DesktopBackground\shell\OpenMoreRegedit\command" /f /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\mshta.exe vbscript:createobject(\"shell.application\").shellexecute(\"%SystemRoot%\system32\notepad.exe\",\"C:\Windows\system32\drivers\etc\hosts\",\"\",\"runas\",1)(close)"
|
|