|
From: | Eric Mullins |
Subject: | Re: [XBoard-devel] file associations / positional arguments |
Date: | Wed, 19 Sep 2012 08:59:30 -0600 |
User-agent: | Mozilla/5.0 (Windows NT 5.2; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
On 9/19/2012 1:51 AM, h.g. muller wrote:
I had to make one backward-compatibility breaking change to make this work satisfactorily. Problem is that Windows filenames often do contain spaces, and that the OS, when you use the "Open with..." menu item on a document, is not so friendly as to quote this filename. So WinBoard will be confronted with command lines like winboard.exe Candidate Matches.pgn winboard.exe KingCheck ICS.xsf
The proper way to handle that is to set up the association correctly. You can have "Open With..." behave however you want, just there's no GUI method for accomplishing this with recent versions of windows. But the registry correctly deals with sending extra options, quoting the filename, etc.
Turning spaces into non-terminators in order to facilitate operation w/out running an installer seems like a bad plan to me. You can always create .BAT files...
[Prev in Thread] | Current Thread | [Next in Thread] |