From: "Andrew Crabtree" Newsgroups: comp.os.msdos.djgpp Subject: Re: Somethings wrong 2!!!! Date: Mon, 5 Jan 1998 11:54:59 -0800 Organization: Hewlett Packard Lines: 13 Message-ID: <68rdqc$8p4$1@rosenews.rose.hp.com> References: <34AB8E47 DOT 473BA8A1 AT usa DOT net> NNTP-Posting-Host: ros51675cra.rose.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rune Lanton wrote in message <34AB8E47 DOT 473BA8A1 AT usa DOT net>... >But then I found out I wanted my program to be able to read all files of >a given type, like all .htm files, or all .txt files. I haven't followed this thread at all, but you are aware that DJGPP will 'glob' the files before they call main right? So if you try passing *.htm on the command line to your program it will be changed in the argv. Andy