>>>
>>>I get the same error too (on W2K). If you want to get the drive's size, you can also do this:
>>>
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>>>oDrive = oFSO.GetDrive("C:\")
>>>?oDrive.AvailableSpace
>>>?oDrive.TotalSize
>>>HTH
>>
>>I wonder if this is limited to Fox... can someone try it in another language (VB, anyone? < g >)
>
>I get a "Error 70, Permission is denied"
Ah, that's useful - I was wondering about permissions. For example, in W2K there is a folder "C:\System Volume Information" to which one has no access - even as Administrator. Sure enough, if I do
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oFolder = oFSO.GetFolder("C:\System Volume Information")
?oFolder.Size
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up