- @echo off & cd /d "%~dp0"
- :jixiu
- set /p "urllink=请输入链接地址: "
- REM txt文件列表
- set "txts=Ku01.txt Ku02.txt"
- set "find=false"
- for %%i in (%txts%) do (
- findstr /i /C:"%urllink%" "%%~i" >nul 2>nul && (
- echo %urllink% 已存在%%i中
- set "find=true"
- )
- )
- if "%find%"=="false" (
- echo %urllink%>>List.txt
- echo %txts% 中都不存在,已写入List.txt
- )
- pause & cls & goto :jixiu
复制代码
|