From: Guido Gonzato Newsgroups: comp.os.msdos.djgpp Subject: Re: file finding function? Date: Thu, 31 Jul 1997 11:17:17 +0200 Organization: Cineca Lines: 18 Message-ID: <33E0581D.4CDBD654@ibogfs.df.unibo.it> References: <01bc9d36$3e1e4fe0$7a3d31cf AT default> NNTP-Posting-Host: ibogpt.df.unibo.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Majisun wrote: > > Is there a function that will find out if there is any file with a certain > extension in the current directory, and then return the filename? > > -Sthel Majisun yeah. It's the "file" utility, which can do *much* more than simply look for files by extension. Look in the v2gnu/ dir of your simtelnet mirror. Regards, Guido =8-) ------------------------------------------------------------------ Guido Gonzato | Universita' di Bologna, guido AT ibogfs DOT cineca DOT it | Dip.to di Fisica, Settore di Geofisica. | Tel. +39-51-6305001; Fax +39-51-6305058