reading files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.....
 
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:[email protected]]
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.....
 
Back
Top