//判断路径是否存在
if (!Directory.Exists(Path))
{
Directory.CreateDirectory(Path);
}
if (Directory.Exists(target))
Directory.Delete(target, true);
Directory.Move(path, target);