My bat:
I can see that errorlevel stays 0 ,and cannot get other values when comparing folder has differs. Did I miss something ?
I can see DOS error values at help doc:
0
success
1
binary same
.....
my script txt:
PHP Code:
set RULEDIR=%1
set TCLDIR=%2
set PSDIR=%3
set OUTDIR=%4
set "TOOLS=C:\Program Files (x86)\Beyond Compare 4"
"%TOOLS%\BComp.com" @%RULEDIR%\rules.txt %TCLDIR% %PSDIR% %OUTDIR%
IF %ERRORLEVEL% NEQ 0 ECHO error
I can see DOS error values at help doc:
0
success
1
binary same
.....
my script txt:
PHP Code:
load "%1" "%2"
expand all
select all
compare rules-based
folder-report layout:side-by-side options:display-mismatches-no-orphans output-to:"%3" output-options:html-color
Comment