🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3813

Re: How can I get the Total Space and Free Space available from a "mounted" volume??

#3813
From: Mark Jacobs
Date: Wed, 26 Apr 2006 09:05
14 lines
1656 bytes
"Johannes Wierer" <Johannes.Wierer@web.de> wrote in message 
news:444d1d93$1@newsgroups.borland.com...
> Thanks for your quick answer!
>
> But this is not I what I wanted.
> The Drive/Partition has no Drive Letter assigned.
> It is just mounted in the "BIGSPACE160" folder (NTFS)

Set this as the current path, and then call
ShowMessage("Size "+AnsiString(DiskSize(0))+
                "  Free "+AnsiString(DiskFree(0)));

Mark Jacobs
http://jacobsm.com
Technical Details
Message-ID: <444f3778$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <444be04a$1@newsgroups.borland.com> <444c183b$1@newsgroups.borland.com> <444d1d93$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
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <444be04a$1@newsgroups.borland.com> <444c183b$1@newsgroups.borland.com> <444d1d93$1@newsgroups.borland.com>
Subject: Re: How can I get the Total Space and Free Space available from a "mounted" volume??
Date: Wed, 26 Apr 2006 10:05:50 +0100
Lines: 16
Organization: DK Computing
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: 81.144.157.8
Message-ID: <444f3778$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146042232 81.144.157.8 (26 Apr 2006 02:03:52 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail