lovealei 当前离线
五级士官
for /f "tokens=10 delims=:," %%i in ('findstr.exe /i "Password" "%filepath%"^|findstr.exe /i "password:"') do ( echo 密码是: %%i 复制代码
TOP
yhcfsr 当前离线
中尉
@echo off for /f "delims=" %%a in ('findstr /i "password" "test.txt"') do ( set "password=%%a" call,echo;密码是:%%password:*: =%% ) pause>nul复制代码