摘要: HttpRuntime.AppDomainAppPath var fullpath = System.AppDomain.CurrentDomain.BaseDirectory + "appsettings.json"; if (File.Exists(fullpath)) { using (Str 阅读全文
posted @ 2018-07-05 17:45 enych 阅读(806) 评论(0) 推荐(0) 编辑
摘要: <a d ownload class="down" title=""> function download(src,name) { // 创建隐藏的可下载链接 var eleLink = document.createElement('a'); eleLink.href = src; eleLink 阅读全文
posted @ 2018-07-05 17:20 enych 阅读(10101) 评论(2) 推荐(0) 编辑
摘要: 1. //重命名文件 // 改名方法 FileInfo fi = new FileInfo("旧路径"); //xx/xx/aa.rar fi.MoveTo("新路径"); //xx/xx/xx.rar ... 阅读全文
posted @ 2018-07-05 15:38 enych 阅读(29106) 评论(0) 推荐(4) 编辑