>>I'd like to use GETFILE() to ask a user to find a specific file. Then I'd like to determine if that specified file is on a CD-ROM.
>>
>>Is there an API function that will return the drive type of a passed drive letter? If so, could someone please provide a code sample?
>>
>>TIA.
>
>the WSH method would go like:
>
>oFSO = CreateObject("Scripting.FileSystemObject")
>oDrive = oFSO.GetDrive("D:")
>?oDrive.DriveType
>
>Drive type returns a numeric, where 4 corresponds to a CD-ROM.
>
>George- since Ed is absent, may I slap you?
Gaaaack!!! No, you may not. He did leave the cat9 with me, however, with instructions that I should flog myself if I missed an opportunity to mention the WSH. I hadn't even thought about it until I saw your post. Feel free to point out any indiscretions on my part in Ed's absence, however.
Excuse me, I've got to go flog myself...whack....whack....whack....
George
Ubi caritas et amor, deus ibi est