March 7th, 2012, 08:14 AM
[RESOLVED] How to display files in a multiple directory?
I'm making a mini disk cleaner and I have wrote this code:
DirectoryInfo dirCustom = new DirectoryInfo("C:\\Windows\\");
filCustom = dirCustom.GetFiles("*.txt");
foreach (FileInfo filFile in filCustom)
However there are some missing parts, works fine but i need to search multiple path and extensions and it only displays the file name on the list view on detailed view. I want it to display the folder path and file size.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!