Page 1 of 1

bug/feature in session file option

Posted: Fri Dec 21, 2007 6:07 am
by bmerkle
Hi there

the session file option /sf: must have an _absolute_ path at the moment.
I think it would also be usefull to have a relative path.

e.g.
examdiffpro.exe /sf:C:\session.txt -->works
examdiffpro.exe /sf:.\session.txt -->works
examdiffpro.exe /sf:session.txt -->fails !

can you fix this.

i think this happens also with 4.0 beta

thanks,
Bernhard.

Posted: Fri Dec 21, 2007 7:11 am
by psguru
Relative to what though? To the current console directory?

Posted: Fri Jan 04, 2008 6:26 am
by bmerkle
psguru wrote:Relative to what though? To the current console directory?
yes exactly. Relative to the current console directory.
I am running examdiff in an automatic build and hence need this feature :-)

thanks,
Bernhard.

Posted: Fri Jan 04, 2008 3:46 pm
by psguru
Well, what's wrong with this:
examdiffpro.exe /sf:.\\session.txt -->works
?

Posted: Mon Jan 07, 2008 4:37 am
by bmerkle
psguru wrote:Well, what's wrong with this:
examdiffpro.exe /sf:.\\session.txt -->works
?
nothing wrong. Is is just a bit explicit and I was irritated the the alternative syntax (without specifiying .\\) was NOT working.

OTOH you can argue, that .\\ is more explicit and hence better.

IMO both should work, e.g. in conformace with most commands from the usual shells (cmd, bash etc...)

Posted: Mon Jan 07, 2008 7:56 pm
by psguru
OTOH you can argue, that .\\\\ is more explicit and hence better.
I am ;). It's a Windows application after all, and I don't see anything wrong with ".\\" syntax.