Hello everybody
I want to compare 2 text files in DOS-Box / command line. My files are really text files and have the extension DCM. For that I already created a new file format in Tools >> file formats:
*.DCM
[X] Trim trailing whitespace
Grammar:
Comment
(X) Lines
Text matching: ^\*[^\r\n]*
[X] Regular expression
[X] Insert spaces instead of tabs
Tab stop: 4
As I have read for comparing within batch jobs on command line I have to use bcomp.com . I am assuming that's right.
I have tried that command line call, but it does not write _any_ file.
bcomp.com /silent /closescript /qc /ro /iu /automerge /savetarget=bc-target.dcm /mergeoutput=bc-merge.dcm my_src.dcm ..\my_dest.dcm
Has anybody some hints please?
My goal is to get a file with the differences and if possible also an exit code like ERRORLEVEL under Windows.
regards
I want to compare 2 text files in DOS-Box / command line. My files are really text files and have the extension DCM. For that I already created a new file format in Tools >> file formats:
*.DCM
[X] Trim trailing whitespace
Grammar:
Comment
(X) Lines
Text matching: ^\*[^\r\n]*
[X] Regular expression
[X] Insert spaces instead of tabs
Tab stop: 4
As I have read for comparing within batch jobs on command line I have to use bcomp.com . I am assuming that's right.
I have tried that command line call, but it does not write _any_ file.
bcomp.com /silent /closescript /qc /ro /iu /automerge /savetarget=bc-target.dcm /mergeoutput=bc-merge.dcm my_src.dcm ..\my_dest.dcm
Has anybody some hints please?
My goal is to get a file with the differences and if possible also an exit code like ERRORLEVEL under Windows.
regards
Comment