In a message regarding Re: Running Program from CD-ROM dated Wed, 03 May
2006 07:53:34 -0400, Barry Traver said that ...
> Do you have something to propose as a solution to the problem? (For
> example, is there a way to get a list of hard drives, etc., and test
> each one until one is found that doesn't give an error when the program
> tries to write to it?)
This works for me on XP but I think on some platforms there may be a
problem if a drive has no media in it.
for i as Integer = 0 to VolumeCount -1
if Volume(i).IsWriteable then
MsgBox Volume(i).Name + " is writeable"
else
MsgBox Volume(i).Name + " is no help"
end if
next
--
Steve Garman
Using REALbasic 2006r2 Professional on Windows XP Pro
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>