Re: Developer6i: How to use TEXT_IO on all files in a directory

From: Andrew Hardy <nobody_at_spam.from.news.AdvanticaTech.com>
Date: Thu, 18 Jan 2001 09:09:38 -0000
Message-ID: <946bs4$kes$1_at_sun-cc204.lut.ac.uk>


[Quoted] Thanks for the reply.

I've used the HOST method, but hoped that there might be a 'built-in' method [Quoted] of accessing the directory contents - I don't like the command shell popping up!

Andy
<chiappa_at_my-deja.com> wrote in message news:94463o$pce$1_at_nnrp1.deja.com...
> In article <941qjh$m8d$1_at_sun-cc204.lut.ac.uk>,
> "Andrew Hardy" <Andrew.Hardy_at_AdvanticaTech.com> wrote:
> > I'd like to use the TEXT_IO package on all files of a specified type
 in a
> > user chosen directory.
> >
> > Is there any simple way to do this?
>
> One simple way : do a HOST dir *.nnn > RESULT.TXT . From here, it's
> trivial to read each line of the file RESULT.TXT, wich contains the
> desired file-names.
>
> []s
> Chiappa
>
>
> Sent via Deja.com
> http://www.deja.com/
Received on Thu Jan 18 2001 - 10:09:38 CET

Original text of this message