home *** CD-ROM | disk | FTP | other *** search
- on checkCD
- set folder to "MacOS"
- set file to "ACDtest"
- set macVol to "AOL-CD"
- set fullpath to EMPTY
- set testPath to macVol & ":" & folder
- if getNthFileNameInFolder(testPath, 1) = file then
- set fullpath to testPath & ":" & file
- else
- go(the frame + 1)
- end if
- return fullpath
- end
-