- @echo off
- echo **** 补丁安装删除工具 by 白菜 ****
- @echo off&color a
- echo.
- echo 1. 开启连击系统
- echo 2. 关闭连击系统
- set /p c=请输入正确的序号进行操作:
- if "%c%"=="1" (
- echo.
- set f=ddraw.ini
- set A=43
- set s=IsEnableLianjiSystem
- (for /f "tokens=1* delims=:" %%i in ('findstr/n ".*" "%f%"')do (
- if "%%i"=="%A%" (echo.%s% = 1)else echo.%%j))>newf
- move newf "%f%"
- echo 连击系统已成功开启
- echo 按任意键退出本程序
- @pause > nul
- goto :eof)
- if "%c%"=="2" (
- echo.
- set f=ddraw.ini
- set A=43
- set s=IsEnableLianjiSystem
- (for /f "tokens=1* delims=:" %%i in ('findstr/n ".*" "%f%"')do (
- if "%%i"=="%A%" (echo.%s% = 0)else echo.%%j))>newf
- move newf "%f%"
- echo 连击系统已成功关闭
- echo 按任意键退出本程序
- @pause > nul
- goto :eof)
- goto begin
复制代码 生成一个0字节的newf文件,脚本失效
该脚本是修改目录下一个名为ddraw.ini文件里面第43行中IsEnableLianjiSystem= 0或者1 |