Re: file associations / positional arguments
Eric Mullins <[email protected]>
| Newsgroups | gmane.comp.gnu.xboard.devel |
|---|---|
| Message-ID | <[email protected]> |
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...