
.asp
我想在檔案中搜尋以、.config
和結尾的字串.txt
。換句話說,我想查詢 asp、web.config 或文字檔案中的特定字串。
我發現 /G 開關不起作用。
答案1
你有沒有嘗試過
findstr foo *.asp *.config *.txt
或者
findstr /S foo *.asp *.config *.txt
.asp
我想在檔案中搜尋以、.config
和結尾的字串.txt
。換句話說,我想查詢 asp、web.config 或文字檔案中的特定字串。
我發現 /G 開關不起作用。
你有沒有嘗試過
findstr foo *.asp *.config *.txt
或者
findstr /S foo *.asp *.config *.txt