Article View: borland.public.cppbuilder.nativeapi
Article #3872Re: How can I get the Total Space and Free Space available from a "mounted" volume??
From: Mark Jacobs
Date: Mon, 24 Apr 2006 00:13
Date: Mon, 24 Apr 2006 00:13
12 lines
1512 bytes
1512 bytes
"newsgroup.borland.com" <Johannes.Wierer@web.de> wrote in message
news:444be04a$1@newsgroups.borland.com...
> I have "mounted" a partition into the folder: c:\bigspace160\
> Drive C is a NTFS volume.
> ... so the partition has no drive letter.
> How can I find out the free and total space available?
ShowMessage("Size "+AnsiString(DiskSize(0))+" Free
"+AnsiString(DiskFree(0)));
--
Mark Jacobs
http://jacobsm.com
Technical Details
Message-ID:
<444c183b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<444be04a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9efe05a0a99131a9 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Mark Jacobs" <www.jacobsm.com/mjmsg.htm?Borland Newsgroup> From: "Mark Jacobs" <www.jacobsm.com/mjmsg.htm?Borland Newsgroup> Newsgroups: borland.public.cppbuilder.nativeapi References: <444be04a$1@newsgroups.borland.com> Subject: Re: How can I get the Total Space and Free Space available from a "mounted" volume?? Date: Mon, 24 Apr 2006 01:13:49 +0100 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 195.137.123.182 Message-ID: <444c183b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1145837627 195.137.123.182 (23 Apr 2006 17:13:47 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail