GetDriveType will do this.
Declare Integer GetDriveType in Win32API String
?GetDriveType("a:\") = 2
?GetDriveType("c:\") = 3
?GetDriveType("d:\") = 5 (CD ROM)
>VFP 3.0
>
>Hello All,
>
>I need to have my program find the cdrom drive on the installation
>machine and use that path to go between my program on the cdrom
>and the hard drive.
>
>Is there an api function that will accomplish this task?
>
>Thanks,
>
>Becky