From: | Rolf Max Rotvel |
Date: | 13 Jul 2001 at 10:27:03 |
Subject: | Re: Converting disk icon names to DOS devices |
On 13 Jul 2001, at 1:05, taoberly@mindspring.com wrote:
> > > "Workbench" becomes "DH0:"
> > Have a look at the examinedt() function from the datatypes.library.
> > I'm pretty sure one of the fields is the full path of the item
> > examined using device names.
>
> I don't have any programming documentation besides what shipped with
> OS 3.1/3.5/3.9, so am not sure where else I could go to look it up. If
> I ever decided to upload the script to Aminet, though, it would be
> desirable to use an OS library.
I dug out my Amiga Developer CD v2.1:
datatypes.library/--rexxhost--
datatypes.library/--rexxhost--
HOST INTERFACE
datatypes.library provides an ARexx function host interface that
enables ARexx programs to take advantage of the features of
datatypes. The functions provided by the interface are
directly related to the functions described herein, with the
differences mostly being in the way they are called.
The function host library vector is located at offset -30
from the library. This is the value you provide to ARexx in
the AddLib() function call.
FUNCTIONS
EXAMPLE
It's the dtstem.FileName you're looking for. The thing is,
I'm not sure whether it uses volume or device names. But
have a look.
Regards
Rolf Max Rotvel
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/