Mail Archives: djgpp/1997/08/01/11:20:50
From: | Guido Gonzato <guido AT ibogfs DOT df DOT unibo DOT it>
|
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
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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
- Raw text -