Announcement

Collapse
No announcement yet.

BC3 equivalent for BCQC?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BC3 equivalent for BCQC?

    I'd like to silently compare two xml files and capture the return code. I have several automated processes that can only work if the compare is done silently. I used to use BCQC for doing this type of thing. Can it be done with BC3? I've tried something like:

    bcomp.exe <lhs file> <rhs file> /silent

    Thanks,
    Paul

  • #2
    use:

    bcomp <rhs> <lhs> /qc
    Zoë P Scooter Software

    Comment


    • #3
      Thanks for the speedy reply. Reading the documentation I was under the impression that I could leave this off because I'm doing rules-based comparisons. That's why I was trying to use the /silent switch. Thanks again.

      Comment


      • #4
        bcomp isn't identical to bcqc; it wraps BC's entire command line interface. /silent is only used for scripts.
        Zoë P Scooter Software

        Comment


        • #5
          how to use test different DOS return code using command line in BC 3

          Hi I am testing BC 3 using command line Bcomp.exe /qc... I only get 1 or 13, or 100 return codes ... does any one know how to change BC 3 and/or the test files so I get different return code, such as 11, 2, or 14?
          Thank you so much

          Comment


          • #6
            2: Rules-based matches. This will occur if the files are identical except for differences in line endings (DOS vs Unix) or encoding (ANSI vs UTF-8).
            11: Binary differences. You'll only see this if you use /qc=binary instead of /qc, which implicitly uses rules-based comparisons.
            12: Similar. Compare two files that only differ in whitespace
            14: This is only supported for /automerge. You'll never see it with /qc.
            Zoë P Scooter Software

            Comment


            • #7
              Craig,
              Thanks so much for that quick response. yes. that works just fine.

              Comment

              Working...
              X