|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
reading filesHi,
Need some info.... I want to read all the folders and files present in my C drive..in .net 2.0 how to we acheive it? Mu purpose is to display all teh files ina given drive...any good samples..... See DirectoryInfo and such classes.
There's the example of scanning directories using recursion: http://www.codeproject.com/useritems/ScanDirectory.asp WBR, Alex Meleta Blog: http://devkids.blogspot.com -----Original Message----- From: AVL [mailto:***@discussions.microsoft.com] Posted At: Montag, 23. April 2007 19:32 Posted To: microsoft.public.dotnet.framework Conversation: reading files Subject: reading files Hi, Need some info.... I want to read all the folders and files present in my C drive..in .net 2.0 how to we acheive it? Mu purpose is to display all teh files ina given drive...any good samples..... On Apr 23, 1:19 pm, "Alex Meleta" <amel***@gmail.com> wrote: To add to that, you may want to consider using the BackgroundWorker> See DirectoryInfo and such classes. > There's the example of scanning directories using recursion:http://www.codeproject.com/useritems/ScanDirectory.asp component, so that your UI stays nice and responsive. This is one of those operations that can lock the UI thead easily.
Other interesting topics
Socket Problem: Exclusive Bind
Lowercase headers generated by SmtpClient Assembly Resolve Anomaly-Please Help naive question on applicatonrunnig from USB drive how to HTTP post multiple files and key-value pairs? Name Visability in XAML & Code Behind Printing Question Hooking ObjectDataSource Up to a Shared Generic Method MethodBuilder.CreateMethodBody XAML & Element Arrangements |
|||||||||||||||||||||||