-f option doesn't work with paths including blanks

Forum for discussing DBrowser, the interactive front-end for Rel.
Post Reply
HughDarwen
Posts: 121
Joined: Sat May 24, 2008 4:49 pm

-f option doesn't work with paths including blanks

Post 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
Dave
Site Admin
Posts: 368
Joined: Sun Nov 27, 2005 7:19 pm

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

Post 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.
Dave
Site Admin
Posts: 368
Joined: Sun Nov 27, 2005 7:19 pm

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

Post by Dave »

I have fixed this in version 0.3.10.
Post Reply