Determining Free Drive Space (Functions/Subroutines/Programs)
Created at 29 JAN 1998 03:06PM
To determine the amount of available space on a particular drive, developers have used the undocumented DiskSize function and DSpace subroutine, both of which return an invalid amount if the amount of free space exceeds 2GB. This problem has been corrected for the 3.4 release. For versions of OpenInsight previous to 3.4, a work-around is available by using the DSpace subroutine and calculating the available space based on the return values. The first text link below shows how to calculate the total and free disk space, and the second shows a simple test program for displaying this information from the System Editor command line (e.g. Run ShowDiskSize"C").