string inFile = @"D:\Test Data\MyFile.docx"; string outPath = @"C:\My Word Files"; string filename = Path.GetFileName(inFile); string outFile = Path.Combine(outPath, filename); File.Copy(inFile, outFile);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)