home *** CD-ROM | disk | FTP | other *** search
- on CheckDrive fileName
- repeat with i = 67 to 90
- set drive to numToChar(i)
- openXLib("fileIo.dll")
- set thisPath to string(drive & ":\" & fileName)
- set myfile to FileIO(mnew, "read", thisPath)
- if objectp(myfile) then
- myfile(mdispose)
- closeXLib("fileIo.dll")
- return string(drive & ":\")
- exit
- end if
- end repeat
- closeXLib("fileIo.dll")
- alert("Please Make sure that the NEWSDEMO cd is in your CD drive")
- end
-