Date : Sat, 22 Jun 1996 11:32:29 +1200
From : chris.dennis@... (Chris Dennis)
Subject: Re: OS calls for directories?
On 21/06/1996, Mark de Weger wrote:
>There appears to be something weird with OS calls in connection
>with directories:
>
>- There is an OS call (OSGBPB with A=6 or 7 if I'm right) to
> retreive the file names in the current directory. However,
> there doesn't appear to be an OS call to get the directory
> names in the current directory.
OSGBPB/8 reads file names in the current directory.
OSGBPB/6 reads the current drive and directory.
>- There appears to be no OS call to switch to a directory
> (*DIR command).
I suppose use could use an OSCLI call to run the *DIR command.
>
>Is there anyone who knows how to get the directory names and
>how to switch to a directory using legal OS calls?
>
>Thanx,
>Mark.
regards
Chris
--
Chris Dennis chris.dennis@...
Wellington, Aotearoa phone: +64-4-382 8620