ARexx (2/23)

From:taoberly
Date:12 Jul 2001 at 20:46:52
Subject:Converting disk icon names to DOS devices

I asked this question on the OS 3.9 mailing list, but didn't get much
of a response. I am working on an Arexx script that reorganizes
Workbench disk icons (actually any icons on the Workbench) into a
preprogrammed order after bootup. But I have a need to convert icon
names to DOS device names, so

"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?

Thanks,

Todd

------------------------ 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/