1.

Solve : [Batch] Scan a .txt file for a string?

Answer»

I would like to scan a file, "banned.txt", for a specific string, ex, "LIAM". How do I do this, as I am PRETTY sure there is a command?

Liam

EDIT: Also, how do i delete this text. I remember a command in VB.NET that i used, Replace(
file,
QUERY,
replacewith)what have you tried? i will give you a hint. USE findstr on the commandline if your requirement is that simple."findstr /?" in cmd.exe seems like plenty, will post again if more HELP is needed.



Discussion

No Comment Found