From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5ba80b3fe7d3447c X-Google-Attributes: gid103376,public From: Laurent Guerby Subject: Re: Reading Filenames Date: 2000/01/29 Message-ID: <864sbwn1x5.fsf@ppp-162-235.villette.club-internet.fr>#1/1 X-Deja-AN: 579236919 References: <86v59u$l05$1@newsg3.svr.pol.co.uk> X-Trace: front2m.grolier.fr 949171578 17172 195.36.224.155 (29 Jan 2000 18:46:18 GMT) Organization: Club-Internet (France) NNTP-Posting-Date: 29 Jan 2000 18:46:18 GMT Newsgroups: comp.lang.ada Date: 2000-01-29T18:46:18+00:00 List-Id: "-=[CheecH]=-" writes: > I want to write a little programme which can read in all the > filenames in a directory and write them to a text file. But I have > have no idea how to read all the names in. Can any one help please. If you use GNAT look for the file g-dirope.ads in your adainclude directory: << -- This package provides routines for manipulating directories. A directory -- can be treated as a file, using open and close routines, and a scanning -- routine is provided for iterating through the entries in a directory. package GNAT.Directory_Operations is >> --LG