获取指定文件夹中文件名(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());
}
}

猜你喜欢

转载自www.cnblogs.com/xtwkh1973/p/11654475.html
今日推荐