批處理Find命令用於在檔或輸入中搜索字串,輸出匹配的行。 語法 FIND [text] [destination] 其中,text是需要搜索的字串,而destination是搜索的原始檔案。 示例 @echo off FIND "Application" C:\tp\lists.txt 如果單詞“Application”存在於檔lists.txt中,則包含該字串的行將顯示在命令提示符中。 上一篇: 批處理命令 下一篇: 批處理檔