Bela,
There are a couple of Windows API calls (one of which can be called through FOXTOOLS) that can help you determine what drives are available and their type. The declare for the first one is:
DECLARE INTEGER GetLogicalDrives IN Win32API
This will return a 32 bit integer. You can use the BITTEST() function to test to see if a particular drive exists. For example,
lndrives = GetLogicalDrives()
IF BITTEST(lndrives, 0)
* There's an A: drive
ENDIF
To determine the type you can use:
DECLARE INTEGER GetDriveType IN Win32API;
STRING lpRootPathName
or the DriveType function in FOXTOOLS. Look in the FOXTOOLS help file for the parameter descriptions and return values for these.
HTH,
George
George
Ubi caritas et amor, deus ibi est