cotopboy
9/2/2013 - 8:14 AM

C# Rename Copy File

C# Rename Copy File


Rename ==>System.IO.File.Move(@"K:\bin\vppclient.exe", @"K:\bin\vppclient" + DateTime.Now.Ticks.ToString() + ".tmp");


Copy==> File.Copy("file-a.txt", "file-new.txt", true);