xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DiskTotal()

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

Syntax

DiskTotal( [<cDrive>] ) --> nTotalBytes

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

Info

See also:DiskFree(), DiskSpace(), 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