getting the path of a DVD drive

Tiemo Hollmann TB toolbook at kestner.de
Tue May 8 05:46:02 EDT 2012


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

 

 

 

 




More information about the use-livecode mailing list