>>>how to get number of drives on machine & their types in VFP6
>>>Rajesh
>>
>>One way is brute force. This comes from some actual code, where I'm accumulating a list of hard drives. You'll need to adjust it to your situation.
>>
>>
>>FOR nDrive = ASC("C") TO ASC("Z")
>> cDriveLetter = CHR(nDrive)
>> IF INLIST(DRIVETYPE(cDriveLetter), 2, 3, 4)
>> This.AddDriveToList(cDriveLetter)
>> ENDIF
>>ENDFOR
>>
>>
>>
>Tamar,
>
>I think I may know where this comes from.< g,d&r >
And you'd be right. <g>
Tamar