Start two sessions in batch file

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
BostonJake
New Member
Posts: 2
Joined: Wed Jun 19, 2013 11:39 pm

Start two sessions in batch file

Post 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
User avatar
psguru
Site Admin
Posts: 2409
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Start two sessions in batch file

Post 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.
psguru
PrestoSoft
BostonJake
New Member
Posts: 2
Joined: Wed Jun 19, 2013 11:39 pm

Re: Start two sessions in batch file

Post 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
Post Reply