Hi Mark, thanks for the helpful answer Tiemo > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:use-livecode- > [email protected]] Im Auftrag von Mark Schonewille > Gesendet: Dienstag, 8. Mai 2012 12:08 > An: How to use LiveCode > Betreff: Re: getting the path of a DVD drive > > Hi Tiemo, > > Yes, /volumes is mandatory on all Macs. You can even use put shell("ls > /volumes") to get all drives. /volumes/<drivename> is the right way to > address a drive on Mac. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > We will have room for new projects after 1 June. Contact me now and be > first in line. > > On 8 mei 2012, at 11:46, Tiemo Hollmann TB wrote: > > > Hello, > > > > if I want to read from a CD with a known label "foo" I just check if > "foo" > > is in the drives to check if the CD is inserted. > > > > Then I add "/Volumes/" hard coded before "foo", so that I get the full > > path "/Volumes/foo/" > > > > > > > > What I would like to know is, if this name convention "/Volumes/." is > > mandatory on Mac or can the path name be different on other machines? > > If so, is there another reliable way to get the path of an inserted > CD/DVD? > > > > Thanks > > > > Tiemo > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
