Article View: borland.public.csharpbuilder.language.csharp
Article #35Getting the size of a file
From: Ray
Date: Mon, 15 May 2006 16:54
Date: Mon, 15 May 2006 16:54
11 lines
1008 bytes
1008 bytes
Hi How do I get the size of a file. Something like string filename="C:\Myfile.txt"; int size=FileSize(filename); Ray
Technical Details
Message-ID:
<4468b2b0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,7471e8a8f2f64364,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ray" <noreply@daemon.com> Newsgroups: borland.public.csharpbuilder.language.csharp Subject: Getting the size of a file Date: Mon, 15 May 2006 17:54:04 +0100 Lines: 13 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; Original NNTP-Posting-Host: 62.56.16.44 Message-ID: <4468b2b0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1147712176 62.56.16.44 (15 May 2006 09:56:16 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.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