hi..
im building an application wher i want to display all the drives on the system with all the directories, sub-directories & files. can any1 help me in tht??? im attaching a zip file of my app.

my app works fine bt it doesnt disply sub dir's..i want to disaply each n every file in each n every folder on each n every drive...

pl tell me if i need to do any changes..

thnx..

Use following methods of System.IO.Directory class

1. System.IO.Directory.GetFiles(path,searchPattern,System.IO.SearchOption.AllDirectories)
2. System.IO.Directory.GetDirectories(path,searchPattern,System.IO.SearchOption.AllDirectories)