<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 21 Jun 1996 13:22:47 +0100 (BST)
From   : Philip Blundell <pjb27@...>
Subject: Re: OS calls for directories?

On Fri, 21 Jun 1996, Mark de Weger wrote:

> - 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 will give you back all *objects* (ie files and directories) in 
your CSD. 

It may not give you directories under DFS; it's more likely to give you a 
full-path filename (eg A.FILE).  Though I'm not sure.

> - There appears to be no OS call to switch to a directory
>   (*DIR command).

Urr, no, there very probably isn't.  You may have to use OSCLI.  

Under NFS you can do nasty things with context handles, but that won't 
work on other systems.

P.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>