reading files

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.....
 
A

Alex Meleta

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.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Reg Zip files 1
Media steaming from two Hard drives one p.c. 0
Outlook Lost Pst Files 1
bullet display 1
reading registry 2
Need help on ppt files 1
Faulty internal hard drive 10
need help on files 1

Top