m developing one c#windows application.The Task is,
1.I want to Scan the Local Machine,Scan by File Types.
2..Excluding some Directories like C:\Program Files,C:\Apps,C:\windows
3.Like Full Scan D:\
4.Getting Some file types like, .DOC,.XLS,.PPT,.PSD,.PDF.
5. After getting i want to populate all thease in a explorer tree view
structure.From that i can select the file or Directory and back to
local machine or network machine.
Can you please give the suggetsion or solution
Thanks in Advance
Arul
Jan MontanoPosted Jun 5, 2007, 2:35 AM
http://www.c-sharpcorner.com/UploadFile/mgold/DirectoryTreeExample11172005045436AM/DirectoryTreeExample.aspx
you have to use recursive function calls for a whole directory scan using System.IO.Directory class.