857185187 当前离线
上等兵
@ECHO OFF SET "FILE=X:\TEST.TXT" SET "NAME=ZHAN^&SAN" ECHO %NAME% echo "TYPE %FILE% |FINDSTR /I /R /C:"%NAME%[^&]*$"" PAUSE复制代码
buyiyang 当前离线
中尉
TOP
echo "TYPE %FILE% |FINDSTR /I /R /C:"%NAME%[^^^&]*$""复制代码