I had two text files one is whole and the other is part.txt
Here is the content of whole.txt
- From
\T501-08815-0103\Application_Signing\Signed_Schemes\QA_Infra-SL_0102_Signed_T3\
.500006011000.S3S
.500007011000.S3S
.500008011000.S3S
.500009011000.S3S
.500010011000.S3S
.500011011000.S3S
.500012011000.S3S
.500014011000.S3S
.500015011800.S3S
.500016011000.S3S
.500028011201.S3S
.500072011000.S3S
.500129010200.S3S
.500134010100.S3S
.500142010100.S3S
.500144010100.S3S
- 50001101
50007201
I have the below code to do the job.
Code: Select all
findstr /x /v /G: part.txt whole.txt >new.txt
If I modified the part.txt as below
.500011011000.S3S
.500072011000.S3S
run the above script again it shall delete the lines based upon the part.txt since /X Print lines that match exactly.
However, I only have part.txt as below
- 50001101
50007201
Thanks