已经查看了网络,但找不到任何可以提供帮助的东西。我正在尝试制作一个可以删除页面内容的页面。已设法进行搜索,可以告诉您 .txt 文件中是否有单词。我怎么把它放进去?
cls
set /p SEARCH= Please enter what you want to look for?
for /f "Delims=" %%a in (test.txt) do (
set FIND=%%a
)
if %SEARCHS%==%FIND% goto FLIGHT HAS ARRIVED
echo We were not able to find %SEARCH%
pause
goto start
有人知道我应该怎么做吗?
谢谢,亚历克斯