I have 2 text files.
One contains a filename with path before it.
And the other just the filename.
I want to remove the lines with pathnames if the filename match.
So you can say i only want the files that doesn't match in a new created text file 3
so list1.txt has:
C:\Program Files\Folder1\enter
C:\Program Files\Folder1\numbers.txt
C:\Program Files\Folder1\files.jpg
C:\Program Files\Folder1\movies.jpg
And list2.txt has:
enter
numbers.txt
files.jpg
Outcome has to be in list3.txt
C:\Program Files\Folder1\movies.jpg