Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How can I find out how much free space is available on disk?
How can I find out how much free space is available on disk?
✍: Guest
There is no portable way. Under some versions of Unix you can call statfs. Under MS-DOS, use interrupt 0x21 subfunction 0x36, or perhaps a routine such as diskfree. Another possibility is to use popen to invoke and read the output of a ``disk free'' command (df on Unix).
(Note that the amount of free space apparently available on a disk may not match the size of the largest file you can store, for all sorts of reasons.)
2015-04-03, 1071👍, 0💬
Popular Posts:
What is XSLT? XSLT is a rule based language used to transform XML documents in to other file formats...
What Happens If One Row Has Missing Columns? - XHTML 1.0 Tutorials - Understanding Tables and Table ...
What are the five levels in CMMI? There are five levels of the CMM. According to the SEI, Level 1 – ...
What is normalization? What are different types of normalization? It is set of rules that have been ...
How To Process Query Result in PL/SQL? - Oracle DBA FAQ - Introduction to PL/SQL You can run queries...