Finding the CD Drive

Gary Rathbone gary.rathbone at btclick.com
Fri Feb 7 03:55:01 EST 2003


The method I've used in the past is to get a volume list - volumes() and use
a repeat loop to search for a 'unique' file eg x:\monte456 which would only
exist on the CD. When you've found the file, you've found your 'active' CD
volume. 

I've searched the archives for a better solution but can't find one.

Regards

Gary Rathbone


> Does anyone have a function to find the name or names of the 
> CD drives on a users system. My app won't be on the CD but it 
> needs to read a file from the CD without user intervention.
> 
> Thanks
> 
> Monte Goulding
> B.App.Sc. (Hons.)
> 
> Executive Director
> Sweat Technologies
> 
> email: monte at sweattechnologies.com
> website: www.sweattechnologies.com
> mobile (International): +61 421 138 274
>        (Australia): 0421 138 274
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 





More information about the use-livecode mailing list