Hi,
What is the best way to compare two files and write the unmatched values to a new txt.

File A = Patches required
File B = Patches installed

I need to compare the values in file A to file B. The values that do not exist in file B compared to file A are written to a new txt. Additional layer to this problem values in B may look like this "Package_for_KB2823180~31bf3856ad364e35~x86~~6.1.1.0" and the value in file A would be "KB2823180". I searched the forums and just got more confused.

Thanks Jay