Announcement

Collapse
No announcement yet.

Simple folder compare

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

  • Chris
    replied
    The /qc command line switches only support comparing pairs of files. It doesn't support comparing two folders. Also, for command line comparison you'll want to use "bcomp.com" instead.

    If you need to compare two folders, you'll have to use a Beyond Compare script instead of the /qc switch. Beyond Compare scripts can't return comparison results as an error level.

    Leave a comment:


  • mil_an
    started a topic Simple folder compare

    Simple folder compare

    Hi,

    I am new to Beyond Compare, and required some assistance with running folder compares via Command Line.

    I currently have the following contents in a BAT script:

    Code:
    @echo off
    
    "C:\Program Files\Beyond Compare 3\BComp.exe" /qc=crc "C:\TEST\TEST1" "C:\TEST\TEST2"
    
    set return=%errorlevel%
    
    IF %return% == 1 ( 
    
    ECHO CRC MATCH - PASS
    
    ) else (
    
    echo FAILED binary match
    
    )
    However, I get a 'FAILED' response even though I am sure the contents of the folders are the same (done a compare via the BC GUI).

    Is my script really doing a comparision?

    Any help will be much appreciated. Thanks!
Working...
X