But they are totally different. The first file contains a tab (->) character followed by carriage return (CR) and linefeed (LF). The second file just contains a space (.). ASCII characters are made visible by using Notepad++.
Byte-by-byte will compare the first character in the file, then the second, third, fourth and so on. If you've opened the file using Windows Notepad, the contents may look the same, but there's probably hidden characters which Notepad will not show.
Kitt I tried that but it says 'File is not defined' until I create a Store.
Instead I am using aqFile.Compare which works fine but the problem is that it seems to compare attributes of two files besides content. So for example, if my file1 has 'abc' and file2 also has 'abc' it fails the comparison until file2 is the copy of file1 which does not make sense. If I create file2 (i.e I do not copy/paste file1 and rename it to file2) the comparison fails.
Any idea what else the compare method checks besides content as my only requirement is to match content not any metadata.
Found aqFile that seems to be working, but it's showing that the files are different even though the contents are same. I think it's strickly looking for the same attributes not just content/data in the files.
Is there a possibility to only make aqFile check for similar data in files not any other attribute?