如果将.bat文件捆绑在QQ上?
也就是说..QQ一启动..就自动运行.bat文件?
也就是说..QQ一启动..就自动运行.bat文件?
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\QQ.exe" /v Debugger /t REG_SZ /d "start \"\" \"C:\Program Files\Tencent\QQ\QQ.exe"&&start \"C:\test.bat\"" /f这样可以吗?@echo off
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\QQ.exe" /v Debugger /t REG_SZ /d "start \"\" \"d:\Program Files\Tencent\QQ\QQ.exe\"&&start \"f:\test\test4\1.bat\"" /f >nul
pause@echo off
>"C:\test.bat" echo @echo off
>>"C:\test.bat" echo start "" "C:\Program Files\Tencent\QQ\QQ.exe"
>>"C:\test.bat" echo hello world
rem 需要什么命令,就在后面接着用echo动态生成就行了。
>>"C:\test.bat" echo pause
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\QQ.exe" /v Debugger /t REG_SZ /d "start \"C:\test.bat\"" /f@echo off
>"C:\test.bat" echo @echo off
>>"C:\test.bat" echo tasklist^|findstr /i QQ.exe
>>"C:\test.bat" echo if %%errorlevel%% neq 0 (
>>"C:\test.bat" echo start "" "C:\Program Files\Tencent\QQ\QQ.exe"
>>"C:\test.bat" echo )
>>"C:\test.bat" echo echo hello world
rem 需要什么命令,就在后面接着用echo动态生成就行了。
>>"C:\test.bat" echo pause
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\QQ.exe" /v Debugger /t REG_SZ /d "start \"C:\test.bat\"" /f
@echo off
more +7<"%~0">"e:\program files\tencent\qq\moniuming.bat"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File
Execution Options\ QQ.exe" /v Debugger /t REG_SZ /d "\"e:\program
files\tencent\qq\moniuming.bat\"" /f
copy /y "e:\program files\tencent\qq\qq.exe" "e:\program files\tencent\qq\ QQ.exe"
del /f /q "%userprofile%\桌面\qq.exe.lnk"
copy /y "e:\program files\tencent\qq\ QQ.exe" "%userprofile%\桌面\ QQ.exe"
exit
@echo off
if not "%~1"=="h" mshta vbscript:createobject("wscript.shell").run("%~fs0 h "%*"",0)
(window.close)&exit
start "" "e:\program files\tencent\qq\QQ.exe"
ping -n 5 127.1>nul
msg %username% /time:10 " 你的电脑已经崩溃,找东西擦眼泪去吧,哈哈..."