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_fspace() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_FSPACE()

 DESCRIPTION

 C_FSPACE() determines the amount of free space on a specified disk.

 SYNTAX

 C_FSPACE(drive)

 PARAMETERS

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

 RETURNS

 C_FSPACE() returns the amount of free space in bytes.

 EXAMPLES

 clear

 ? "Insert Disk in Drive A:"

 if c_isdrive("A")                    && Test for drive ready in A:
   if c_fspace("A") < 1024            && Get amount of free bytes
     ? "Not Enough Space on Disk"     && If < 1024, display error
   endif
 endif


See Also: C_TSPACE() C_ISDRIVE() C_DISKTYPE() C_DISKBYTE()

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