Page 1 of 1

-f option doesn't work with paths including blanks

Posted: Tue Jul 29, 2008 1:07 pm
by HughDarwen
In version 0.3.8 I had been using the following Windows commands to invoke Dbrowser:

s:
cd \Rel\V3.8
java -jar DBrowser.jar -f"d:\Rel version 3\BirdTrack.0.3.8"

However, when I installed version 0.3.9 in s:\Rel\V3.9 and set up a new directory, d:\Rel version 3\BirdTrack.0.3.9, for my database, the following sequence of commands didn't work:

s:
cd \Rel\V3.9
java -jar DBrowser.jar -f"d:\Rel version 3\BirdTrack.0.3.9"

Worse, the Dbrowser and Dbrowser monitor windows both closed automatically before I could see any error messages. It was only when I discovered that I could switch to d:\Rel version 3\BirdTrack.0.3.9, having started Dbrowser with some other database that it occurred to me that the blanks might be the cause of the problem. When I changed those blanks to hyphens, all worked fine.

[I am familiar with difficulties that blanks cause as they have been an enormous headache for me in some of my own DIY software! So I'm likely to be sympathetic with a response saying I'll just have to live with this problem.]

Hugh

Re: -f option doesn't work with paths including blanks

Posted: Tue Jul 29, 2008 4:58 pm
by Dave
Blanks should have worked, but I think I know why they didn't. If my theory is correct, the fix will be trivial and I'll send out another release tonight.

Re: -f option doesn't work with paths including blanks

Posted: Wed Jul 30, 2008 1:02 am
by Dave
I have fixed this in version 0.3.10.