Compare Files
The COMPARE FILES command compares the currently active file with a different saved file. It corresponds to the Compare Files command on the File menu.
COMPARE FILES "path"
path
(Optional) defines the path to the saved file to compare to the currently active file. (Always define relative paths.) If path is omitted, the > dialog box appears so the user can choose a file. If path contains a path without a file name, that path is the default path in the > dialog box.
OPEN "c:\test01.iso"
ACTIVATE WINDOW "c:\test01.idr"
COMPARE FILES "c:\test02.idr"