Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2011
    Posts
    1

    Default listing down difference sections using a script

    I want to compare two intel hex format files using a commandline script.
    The output should be displayed on the command prompt.
    If there are more than 4 difference sections,then the files are different otherwise ok. How do I do this using a script ?

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,788

    Default

    Hello,

    We do not currently support a "more than 4 differences" definition. Your two intel Hex files, is it binary information that must be compared in our Hex Compare? Or is it plain text data that can be compared using our Text Compare. The type of comparison would determine how Unimportance could be defined. I would suggest trying different comparison strategies in the graphical interface first, since scripting mirrors actions that you can take in the graphical interface. Once the comparison works there as you expect, you can then create a script that performs the same steps/comparison.

    By default, you can easily use the /quickcompare command line argument, run a binary compare, and have it return to the %errorlevel% variable whether the files are binary equal or have a difference. This does not take into account any unimportant sections, however.
    Aaron P Scooter Software

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •