Page 1 of 1

Start two sessions in batch file

Posted: Wed Jun 19, 2013 11:50 pm
by BostonJake
I am using examdiff pro on Windows 7

I would like to create a batch file that starts up two instances of examdiff. Here is what I have so far

Code: Select all

SET PATH="C:\Program Files\ExamDiff Pro"

cd D:\Code\

ExamDiff.exe file111.txt file222.txt

ExamDiff.exe file333.txt file444.txt

Unfortunately, the second instance of examdiff does not start until I close out of the first compare session.

I would welcome any suggestions on how I can do this.

Thanks,
Jake

Re: Start two sessions in batch file

Posted: Thu Jun 20, 2013 5:54 am
by psguru
AFAIK, you need to use the start batch command to run programs simultaneously. If you just want to output your differences to files, use the /o option in the ExamDiff Pro command line.

Re: Start two sessions in batch file

Posted: Thu Jun 20, 2013 5:55 am
by BostonJake
Found the solution by adding the word 'START' when calling EXAMDIFF. Here is the updated code:

Code: Select all

SET PATH="C:\Program Files\ExamDiff Pro"

cd D:\Code\

START ExamDiff.exe file111.txt file222.txt

START ExamDiff.exe file333.txt file444.txt