Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_tspace() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_TSPACE()

 DESCRIPTION

 C_TSPACE() determines the amount of total space on the specified disk.

 SYNTAX

 C_TSPACE(drive)

 PARAMETERS

 drive (C) is the drive letter (A, B, C, etc.) of the disk to check.

 RETURNS

 C_TSPACE() returns the amount of total space on the disk in bytes.

 EXAMPLES

 clear

 ? "Insert Disk in Drive A:"

 if c_isdrive("A")               && Test for drive ready in a:
   if c_tspace("A") != 362496    && Get total amount of free bytes
     ? "Disk is Not Empty or"
     ? "Contains Bad Sectors"
   endif
 endif


See Also: C_FSPACE() C_ISDRIVE() C_DISKTYPE() C_DISKSTAT() C_DISKBYTE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson