Date : Wed, 27 Sep 2006 14:09:47 +0100
From : jgh@... (Jonathan Graham Harston)
Subject: Re: Econet directory navigation
>Message-ID: <7.0.1.0.2.20060927110637.05273ca0@...>
Joel Rowbottom <joel@...> wrote:
> a way to go to the parent directory please, or of referring to the
> parent directory, in NFS or ANFS?
>
> *BACK and *DIR ^ both don't seem to work, and I can't find a
> reference to this method of navigation in the manuals.
*DIR ^
supported on Acorn Level 3, Level 4, Advanced Level 4, SJ FDFS, SJ
HDFS, SJ MDFS, swServer, SoftMDFS.
TreeCopy does up%=FNFile(5,"^")=2 and then later
path$=FNnoleaf(path$)
IF up% THEN OSCLI "DIR ^" ELSE DIR path$
On Acorn servers doing *Dir from any absolute directory reference
makes you a Public user of that directory. You only have Owner
access to your URD and anything *Dir'd from there with relative
pathanmes. Eg:
*DIR now in URD, owner access
*DIR fred now in &.FRED, owner access
*DIR $ now in $, public access
*DIR $.<myurd> now back in my URD, but with *public* access
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
BBC BASIC for Windows and Internationalisation
See http://mdfs.net/Software/BBCBasic/Windows/ProgTips