>How can I check for free space a on a specific HD or Removable device?
>
>Thanks in advance for any tips
>
Because of known issues with the implementation of VFP's DISKSPACE() and large drive volumes, it's preferable to use either an API call, or the Scripting.FileSystemObject's Drive subobject to get this information - my preference is to use the FSO's Drive subobject, since it gives both the free disk space and available disk space when the two differ, like when disk quotas are being referenced:
oFSO = CREATEOBJ('Scripting.FileSystemObject')
oDrive = oFSO.GetDrive("J:")
? oDrive.AvailableSpace, oDrive.FreeSpace
See the WSH docs for the full details.