Yogesh Vedpathak

Yogesh Vedpathak

  • 678
  • 1.3k
  • 153.6k

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)