ExamDiff Software: Comparing 2 Text Files in Batch

General questions about using ExamDiff, ideas for new features, bug reports, and usage tips.
Post Reply
ExamDiff_User
New Member
Posts: 1
Joined: Wed Apr 04, 2007 12:59 am

ExamDiff Software: Comparing 2 Text Files in Batch

Post by ExamDiff_User »

I use ExamDiff free software (non-Pro version). It is GREAT at comparing two SAS LST files!!!!

I have been told that one can run ExamDiff in batch mode and compare corresponding files in 2 different directories. For instance I would like to compare LST file A in Directory #1 with LST file A in Directory #2, LST file B in Directory #1 with LST file B in Directory #2 and so on and so on.... Do any of you know how to accomplish this? Another programmer said I can used a PIPE command but I don't know what they are talking about. LOL
User avatar
psguru
Site Admin
Posts: 2309
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Well, the only way that I see to do this is to create a batch file that would spawn ED for different pairs of your files, one-by-one. The batch file would look something like this:

Code: Select all

examdiff c:\1\a.lst c\2\a.lst
examdiff c:\1\b.lst c\2\b.lst
I suppose you could even generate such file one the fly by reading the contents of both directories but I've never tried this. EDPro, on the other hand, can compare directories directly, and allows to view changes in each pair of files.
psguru
PrestoSoft
Post Reply