批处理怎样提取.txt文件的指定字符串?

2024-11-02 10:44:39
推荐回答(1个)
回答1:

@echo off
for /f "tokens=2* delims==" %%i in ('findstr /i /c:"psd=" "C:\.txt"') do set str=%%i
echo %str%
pause