>>>Hi there,
>>>
>>>Is there a command to check if there is a disk in drive a:\?
>>>
>>>TIA,
>>
>>Einar,
>>
>>The Windows Script Host can do this
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
>>oDrive = oFSO.GetDrive("a:")
>>? oDrive.IsReady
>An old article THE KEY TO VALIDATING A USER'S PATH Robert Stone Foxpro Advisor October 1996 used a long process with Getdir(), File(), and Adir() ...
>
>VFP3.0 (how times have changed)
>I like Georges solution much better
Thank you, Edgar.
George
Ubi caritas et amor, deus ibi est