public bool mvdir(string FromPath, string ToPath)
{
try
{
if (!Directory.Exists(ToPath))
{
Directory.Move(FromPath, ToPath);
return true;
}
else
{
return false;
}
}
catch (Exception e)
{
return false;
}
}