PC Review


Reply
Thread Tools Rate Thread

Directory Properties

 
 
Dave
Guest
Posts: n/a
 
      26th Feb 2004
Is there a way to to retrieve Directory Property information? I am trying to
develop a way to monitor total Directory size say any directory over 200
meg. I have the logic to enumerate the directories but I can't seem to
figure out how to extract the directory size.


 
Reply With Quote
 
 
 
 
Cor
Guest
Posts: n/a
 
      26th Feb 2004
Hi Dave

Have a look at the directeryinfo class

http://msdn.microsoft.com/library/de...classtopic.asp

And because you want to control it also to the filesystemwatcher class

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps?

Cor

> Is there a way to to retrieve Directory Property information? I am trying

to
> develop a way to monitor total Directory size say any directory over 200
> meg. I have the logic to enumerate the directories but I can't seem to
> figure out how to extract the directory size.
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      26th Feb 2004
* "Dave" <(E-Mail Removed)> scripsit:
> Is there a way to to retrieve Directory Property information? I am trying to
> develop a way to monitor total Directory size say any directory over 200
> meg. I have the logic to enumerate the directories but I can't seem to
> figure out how to extract the directory size.


You will have to sum up the file sizes.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Directory Properties Dave Microsoft Dot NET 1 26th Feb 2004 09:02 AM
Directory Properties Dave Microsoft Dot NET 1 26th Feb 2004 09:01 AM
Help with Directory Properties Dave Microsoft VB .NET 1 26th Feb 2004 07:34 AM
Directory Properties Microsoft Microsoft Dot NET 0 26th Feb 2004 02:04 AM
Launching Directory Properties and UserProfile Properties from C# JerryP Microsoft C# .NET 6 19th Sep 2003 06:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:15 AM.