static void DoRecursiveWalk(string DirPath) { DirectoryInfo di = new DirectoryInfo(DirPath); AbmFileReader afr = new AbmFileReader(di); afr.Read(false); afr.DumpToDataBase(); string[] SubDirs = Directory.GetDirectories(DirPath); foreach (string SubDir in SubDirs) { DoRecursiveWalk(SubDir); } }