Unlike all the others examples, this behaviour skips the A and B letters, 'cause they are always floppy drive (or I think so).
--list of volumes stored in ls
f = xtra("FileXtra3").new()
ls = f.fx_volumesToList()
i = 1
--checking volumes...
repeat while i <= ls.count
--a: and b: are floppy: delete them
if ls="A:" or ls="B:" then
ls.deleteAt(i)
else
--ok if there's a CD onto the drive
if f.fx_volumeIsCDROM(ls) then
i = i + 1
else
--delete item if it's a hard drive or there isn't any CDROM...
ls.deleteAt(i)
end if
end if
end repeat
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA