lixiaodaoaaa 当前离线
上尉
@echo off @mode con cols=50 lines=20 color b0 echo. >qi.reg echo Windows Registry Editor Version 5.00 >>qi.reg echo. >>qi.reg echo [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application] >>qi.reg echo . >>qi.reg echo @="Maxthon" >>qi.reg regedit /s /t qi.reg del /s /q qi.reg >nul 2>nul echo. >ma.reg echo Windows Registry Editor Version 5.00 >>ma.reg echo. >>ma.reg echo [HKEY_CLASSES_ROOT\HTTP\shell\open\command] >>ma.reg echo. >>ma.reg echo @="\"D:\\Program Files\\Maxthon2\\Maxthon.exe\" -nohome" >>ma.reg regedit /s /t ma.reg del /s /q ma.reg >nul 2>Nul ping 127.0.0.1 -n 3 >Nul pause 复制代码
tireless 当前离线
少校
Windows Registry Editor Version 5.00 ;@start regedit /s "%~f0" & exit /b [HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application] @="Maxthon" [HKEY_CLASSES_ROOT\HTTP\shell\open\command] @="\"D:\\Program Files\\Maxthon2\\Maxthon.exe\" -nohome"复制代码
TOP
steven007 当前离线
四级士官
原帖由 tireless 于 2008-12-15 11:02 发表 都可以 ^_^ 详见 REG与CMD混合编程