@echo off
find "worldcup" e:\files\test.txt
if ERRORLEVEL 1 echo String "worldcup" has already existed in file "e:\files\test.txt"
pause
test.txt内容为:
worldcup
Euro Championship
Aisa Championship
在test.txt中存在的worldcup,为什么用上诉批处理,不能输出 存在提示呢?
find "worldcup" e:\files\test.txt
if ERRORLEVEL 1 echo String "worldcup" has already existed in file "e:\files\test.txt"
pause
test.txt内容为:
worldcup
Euro Championship
Aisa Championship
在test.txt中存在的worldcup,为什么用上诉批处理,不能输出 存在提示呢?
