New answers tagged batch-file
With some kind of management software (like SCCM). With PSExec. With Powershell Remoting.
Given your exemple i was able to produce the expected result : type sample.txt | FINDSTR /I "insert.*.tableA" Assuming : sample.txt contains the sample file content you provided word1=insert and word2=tableA in correct AND order ("insert.*.tableA") insensitive case (/I) to match INSERT TABLEA I've not tested every use cases, but should be a good ...
Top 50 recent answers are included