1.

Solve : search text file for certain strings on batch?

Answer»

How the *censored* do I use a .bat to SEARCH a text file for certain STRINGS (includes wildcards), and save the found ones to a .txt file? I used to know all this stuff before I learned VB - now I've forgotten everything
I am working on a new PROGRAM for proxies, and I need a .bat file that will find all the strings with, for example, "*:553", and save them - Any IDEAS?Code: [Select]FIND "string" C:\test.txt
The above code will search for all instances of "string" in C:\test.txt and display them. The quote marks are essential, but replace "string" with whatever floats your boat, and C:\test.txt with the actual file. 8-)



Discussion

No Comment Found