hai,
i am developing an application to copy files and folders in my system to a remote system.For that i need to display the all the files and folders at the form load event.Is there any way to display the folder list?
waiting for suggestion..
thanks

Blocked AccountRank #403 · 6.2K reputationPosted Dec 17, 2007, 7:26 PM EST
Visit this url.
http://www.codeguru.com/forum/archive/index.php/t-417770.html
I hope this will help you.
Anuja19 reputationPosted Dec 18, 2007, 2:24 AM EST
{
System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo("Path of folder");
foreach (System.IO.FileInfo f in dir.GetFiles("*.*")) {
lstFiles.Items.Add(f.Name);
}
}