xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DiskFree()

Returns the free storage space of a disk drive in bytes.

Syntax

DiskFree( [<cDrive>] ) --> nFreeDiskSpace

Arguments

<cDrive>
This parameter defaults to the current drive letter. It can be specified as a drive letter from A to Z without a colon.

Return

The function returns a numeric value indicating the free storage space of the specified disk.

Info

See also:CurDrive(), DiskSpace(), DiskTotal(), DiskUsed()
Category: CT:DiskUtil , Disks and Drives
Source:ct\diskutil.prg
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe