BAT Script to look for the file content in an another file and to delete if any same content exists in both files

Ragazzz88

Commendable
Aug 22, 2016
1
0
1,510
0
Say, I am having two text files File1 and File2.

File1 content :

Apple

Banana

Grapes

File2 content :

Orange

Apple

Pineapple

Watermelon

Banana

I am in need of deleting the matching ones in the File1.

Could anyone send me the BATCH script for the above instance..
 
Thread starter Similar threads Forum Replies Date
H Apps General Discussion 1
ExtreamChaozZ Apps General Discussion 6
D Apps General Discussion 5
V Apps General Discussion 1
D Apps General Discussion 3
packersfan036 Apps General Discussion 4
S Apps General Discussion 1
G Apps General Discussion 1
SyncroScales Apps General Discussion 4
A Apps General Discussion 1
Tom Waller Apps General Discussion 2
tarmiricmi Apps General Discussion 5
C Apps General Discussion 6
T Apps General Discussion 5
C Apps General Discussion 9
K Apps General Discussion 4
A Apps General Discussion 2
JoeMomma Apps General Discussion 6
J Apps General Discussion 1
S Apps General Discussion 3

ASK THE COMMUNITY