i wants to compare two report which is located in C:\Test 1.rpt and 2.rpt.
only thing is report name is different and date is different because both report created different date and time so i want to tell compare two report file and if report name and report date is different than print report is matching except report name and Date otherwise print report is different.
If the report files are text files (not bimary) or contain data in text presentation you just may skip some parts of this file (containing date and time) and compare only other strings.
Otherwise, you should make decision about reason to automate this part. You should know that not all things can be automated correctl. Or perhaps, some actions require too much time to spend for them, so they are not reasonable to automate