I have a log file which is constantly storing text in lines. I want to find a way to remove any line that says "[PM] This is a test line" (I will change that with the desired text), once an hour. Like, if I have a file that says:
[S] Some text here
[PM] This is a test line
[S] Some other text here
I want to make a batch file which will remove all lines that say "[PM] This is a test line", leaving just:
[S] Some text here
[S] Some other text here
Any ideas?
2007-09-24
11:33:05
·
3 answers
·
asked by
Random and Anonymous
1
in
Computers & Internet
➔ Programming & Design