find

在一個或多個文件中查詢指定字串。 更多資訊:https://learn.microsoft.com/windows-server/administration/windows-commands/find.

find "{{字串}}" {{檔案或目錄\完整\路徑}}

find "{{字串}}" {{檔案或目錄\完整\路徑}} /v

find "{{字串}}" {{檔案或目錄\完整\路徑}} /c

find "{{字串}}" {{檔案或目錄\完整\路徑}} /n