public void AddDir(string dirName) { dirName = IO.RemoteLastEnMark(dirName); DirEntry[] ee = IO.EnumDirEx(dirName); foreach (DirEntry e in ee) { if (e.IsFolder == false) { AddFile(e.FullPath, dirName); } } }