获取指定文件夹中文件名(job)

static void Job102(Args _args)
{
System.IO.FileInfo fInfo;
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo("C:\\AOD back");

System.Collections.ArrayList al;
System.Collections.IEnumerator ie;

Boolean OK;

;
al = di.GetFiles();
ie = al.GetEnumerator();

while(ie.MoveNext())
{
fInfo = ie.get_Current();

info(fInfo.get_FullName());
}
}

posted @ 2019-10-11 15:27  学习是进步的阶梯  阅读(219)  评论(0编辑  收藏  举报