From 2d7f7a78bc804a5b5ec1977e0e5059e72a147c03 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 16 五月 2023 13:17:24 +0800 Subject: [PATCH] 1 --- ExportMap/cs/Tools.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ExportMap/cs/Tools.cs b/ExportMap/cs/Tools.cs index c681beb..dc9fe60 100644 --- a/ExportMap/cs/Tools.cs +++ b/ExportMap/cs/Tools.cs @@ -251,5 +251,16 @@ return sys; } + + /// <summary> + /// 鍒犻櫎璺緞 + /// </summary> + public static string DelPath(string path) + { + List<string> list = new List<string>(); + list.Add(string.Format("rd \"{0}\" /s /q", path)); + + return ExecCmd(list); + } } } -- Gitblit v1.9.3