>>You can check all possible drivies in the loop until you find CDROM
>>
Declare Integer GetDriveType in Win32API String
>>lcCDROM = Null
>>FOR lnI=Asc("A") To Asc("Z")
>> IF GetDriveType(Chr(lnI)+ ":") = 5
>> lcCDROM = Chr(lnI)
>> EXIT
>> ENDIF
>>ENDFOR
>>
>>
>>? lcCDROM
>>
>
>What about schmucks like me who have more than one, or who want to access a network resource? (I have a DVD drive shared to the net here.)
>
"Schmucks" like you know how to use WSH :)
--sb--