Hi,
You can call the DOS command comp with "System Exec.vi" and redirect the result into a text file. At the end you read the text file to see the comparison result.
Type comp /? at a DOS command prompt to see the help for comp.
See "ping.vi" in attachment. You can do something very similar with comp.
I hope it will help you.