ARexx (3/23)

From:Rolf Max Rotvel
Date:12 Jul 2001 at 21:14:31
Subject:Re: Converting disk icon names to DOS devices

On 12 Jul 2001, at 19:46, taoberly@mindspring.com wrote:

> "Workbench" becomes "DH0:"
> "Empty" becomes "DF0:"
> "Ram Disk" becomes "RAM:"
>
> etc., etc. I can do this by running the info command and parsing it
> to death, but think there should be a more straightforward (and
> faster) way. Does anybody have any advice?

My Amiga is dead at the moment so this is from memory:

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.

Regards

Rolf Max Rotvel

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of
VeriSign's FREE Guide "Securing Your Web Site for Business." Get it now!
http://www.verisign.com/cgi-bin/go.cgi?a=n094442340008000
http://us.click.yahoo.com/6lIgYB/IWxCAA/yigFAA/saFolB/TM
---------------------------------------------------------------------~->

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/