Yogesh Vedpathak

Yogesh Vedpathak

  • 675
  • 1.4k
  • 191.9k

could not find part of path

Jun 18 2018 4:58 AM
void Copyfile()
{
string Arhivepath = @"E:\Streamwrite\";
string destinationpath = @"indfsrv\archive";
try
{
File.Copy(Arhivepath, destinationpath, true);
ClientScript.RegisterStartupScript(Page.GetType(), "", "alert('File Copy successfully');", true);
ClearControl();
}
catch (IOException iox)
{
Console.Write(iox.Message);
}
}

Answers (1)