| | |
| | | string filePath = Path.Combine(uploadFolder, meta.path); |
| | | if (File.Exists(filePath)) files.Add(filePath); |
| | | } |
| | | string str = string.Join("\n", files); |
| | | string str = string.Join("\r\n", files); |
| | | |
| | | File.WriteAllText(txtFile, str); |
| | | } |
| | |
| | | //string batFile = Path.Combine(BatPath, dateStr + ".bat"); |
| | | string tifFile = Path.Combine(Tools.TempDir, ExportUtil.DateStr + ".txt"); |
| | | string xyzPath = Path.Combine(SGUtils.LFData, "2d\\tiles", args.dircode); |
| | | //if (args.isNew && Directory.Exists(xyzPath)) Tools.DelPath(xyzPath); |
| | | //if (args.isNew && Directory.Exists(xyzPath)) Tools.DelPath(xyzPath); // 已存在的,删除 |
| | | if (!Directory.Exists(xyzPath)) Directory.CreateDirectory(xyzPath); |
| | | |
| | | WriteText(tifFile, list); |
| | |
| | | } |
| | | //files.Add(@"E:\01.Data\33.DOM\2.大庆DOM\5154.50-415.50.tif"); |
| | | //files.Add(@"E:\01.Data\33.DOM\2.大庆DOM\5154.50-416.00.tif"); |
| | | string str = string.Join("\n", files); |
| | | string str = string.Join("\r\n", files); |
| | | |
| | | File.WriteAllText(file, str); |
| | | } |