mit noteseigenen bordmitteln so nicht realisierbar...
aber...
es gibt ja noch die winapi:
DECLARATIONTS->
Declare Function GetDiskFreeSpaceEx Lib "kernel32" _
Alias "GetDiskFreeSpaceExA" _
(Byval lpDirectoryName As String, _
lpFreeBytesAvailableToCaller As Currency, _
lpTotalNumberOfBytes As Currency, _
lpTotalNumberOfFreeBytes As Currency) As Long
' Dimension Constant values.
Const GigaByte = 1073741824
Const MegaByte = 1048576
FUNCTION->
Function Getsize(volume As String) As Currency
Dim cJunkValue As Currency
Dim cTotalNumberOfBytesOnDrive As Currency
Dim cTotalNumberOfFreeBytes As Currency
Dim lResults As Long
lResults = GetDiskFreeSpaceEx(volume, cJunkValue, cTotalNumberOfBytesOnDrive, cTotalNumberOfFreeBytes)
' cTotalNumberOfBytesOnDrive
Getsize = cTotalNumberOfFreeBytes
End Function
AUFRUF ->
diskfree = Cdbl(Getsize("C:\"))*10000
gruss