[HttpPost("/[controller]/test")]
public string getDirector(string name)
{
try
{
string sourcepath = "G:\\vuedonet\\zipicture\\evaluate\\20210508144442\\testpic";
string destpath = "G:\\vuedonet\\zipicture\\evaluate\\20210508144442\\" + name;
Directory.Move(sourcepath, destpath);
return "OK";
}
catch(Exception)
{
throw;
}
}
C#文件夹重命名
最新推荐文章于 2024-05-19 17:10:25 发布