I have a file that's almost 7k rows.
I need ot remove all lines that begin with "PFP
So this is my code:
Code: Select all
findstr /v /i /b ""PFP" Input.csv > Output.csv
However it's taking forever. Anyway to speed this process up?
Thanks!
Moderator: DosItHelp
Code: Select all
findstr /v /i /b ""PFP" Input.csv > Output.csv
SIMMS7400 wrote:Code: Select all
findstr /v /i /b ""PFP" Input.csv > Output.csv
However it's taking forever. Anyway to speed this process up?
Thanks!
Code: Select all
findstr /v /i /b "PFP" Input.csv > Outpu.csv
Code: Select all
findstr /vib "\"PFP" Input.csv > Output.csv
Code: Select all
findstr /vib "\"PFP^" Input.csv > Output.csv
aGerman wrote:As far as I remember you have to escape the quotation mark in a FINDSTR pattern.Code: Select all
findstr /vib "\"PFP" Input.csv > Output.csv
Steffen
EDIT
Unbalanced quotes are always a mess. Could be you have to escape the last one using a caret.Code: Select all
findstr /vib "\"PFP^" Input.csv > Output.csv