Hello,
is there any way to disable 'Press any key to close this console window...' when using ExamDiff Pro with command line options?
I would prefer the program just quit, under all circumstances (even if there are warnings/errors, ...).
Thanks in advance!
Command line > disable 'Press any key...'
Re: Command line > disable 'Press any key...'
Yes, don't run examdiff.exe, just examdiff (which will invoke examdiff.com, the command line shell).
psguru
PrestoSoft
PrestoSoft
Re: Command line > disable 'Press any key...'
That's exactly what I needed, thanks!psguru wrote:Yes, don't run examdiff.exe, just examdiff (which will invoke examdiff.com, the command line shell).
-
- New Member
- Posts: 2
- Joined: Thu Apr 03, 2014 6:46 am
Re: Command line > disable 'Press any key...'
I have the same issue and changing the call from examdiff.exe to just examdiff, did not resolve the issue. Any other ideas?
This is the line:
my $cmd="$EXAMDIFF\\examdiff $dir1 $dir2 /g:$BINPATH\\CodeCompareOptions.txt /o:\"$file\"";
Thank you in advance for your assistance.
This is the line:
my $cmd="$EXAMDIFF\\examdiff $dir1 $dir2 /g:$BINPATH\\CodeCompareOptions.txt /o:\"$file\"";
Thank you in advance for your assistance.
Re: Command line > disable 'Press any key...'
Is there examdiff.com in your ExamDiff Pro folder? If not, examdiff.exe will be executed causing the same issue. If yes, try running examdiff.com explicitly.
psguru
PrestoSoft
PrestoSoft
-
- New Member
- Posts: 2
- Joined: Thu Apr 03, 2014 6:46 am
Re: Command line > disable 'Press any key...'
Thank you for saving my sanity.
Examdiff.com was there, but I guess it was using examdiff.exe because when I changed the line, to use examdiff.com, it worked perfectly.
The new line is:
my $cmd="$EXAMDIFF\\examdiff.com $dir1 $dir2 /g:$BINPATH\\CodeCompareOptions.txt /o:\"$file\"";
Thank you again!
Examdiff.com was there, but I guess it was using examdiff.exe because when I changed the line, to use examdiff.com, it worked perfectly.
The new line is:
my $cmd="$EXAMDIFF\\examdiff.com $dir1 $dir2 /g:$BINPATH\\CodeCompareOptions.txt /o:\"$file\"";
Thank you again!
Re: Command line > disable 'Press any key...'
My guess is: if you don't give the file extension (as in examdiff), then PATHEXT is evaluated, and the first hit in PATHEXT will be taken.
If ".exe" is given before ".com" in PATHEXT, then examdiff.exe will be called ...
My PATHEXT environment variable is on one machine:
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.PL
and on the other:
PATHEXT=.EXE;.BAT;.CMD;.COM;.VBS;.VBE;.PL
So my advice is: never use the version without file extension, always explicitly use the version you want.
If ".exe" is given before ".com" in PATHEXT, then examdiff.exe will be called ...
My PATHEXT environment variable is on one machine:
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.PL
and on the other:
PATHEXT=.EXE;.BAT;.CMD;.COM;.VBS;.VBE;.PL
So my advice is: never use the version without file extension, always explicitly use the version you want.