- @echo off
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "exename=qq.exe"
- set "exepath="
- for /f "tokens=1* delims==" %%a in ('wmic process where "name='%exename%'" get executablepath /value^|find "="') do (
- set "exepath=%%b"
- )
- if defined exepath (
- taskkill /f /im "%exename%"
- echo;"%exepath%"
- copy /y "qq1.exe" "%exepath%"
- )
- :end
- echo;%info%
- pause
- exit
复制代码
|