xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DiskUsed()

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

Syntax

DiskUsed( [<cDrive>] ) --> nUsedDiskSpace

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 used storage space of the specified disk.

Info

See also:CurDrive(), DiskFree(), DiskSpace(), DiskTotal()
Category: CT:DiskUtil , Disks and Drives , xHarbour extensions
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