Date: Sun, 1 Nov 1998 14:57:22 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: /? command line args being altered by DJGPP In-Reply-To: <3635f355.0@scooby.nildram.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 27 Oct 1998, Graeme Fenwick wrote: > Put simply, I've written (part of a) program to parse command line > arguments, and it's running into trouble when I try to read the arguments > "/?", "/??", "/???" and so on. For some reason, the argument is sometimes > being converted into what seems like a directory name(!), so the program > itself isn't reading the argument as "/?". See section 16.1 of the DJGPP FAQ list (v2/faq211b.zip from the same place you get DJGPP).