@COMPARE[file1,file2] : Returns 1 if the two files are identical, or 0 if they differ. @COMPARE supports FTP filenames for either file1 or file2, but cannot compare two FTP files.

 

Example:

 

echo %@compare["c:\windows\system32\cmd.exe","c:\windows\syswow64\cmd.exe"]

0