Guest User

Untitled

a guest
Jun 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. string source = @"\abcC$tempcoll.zip";
  2. string destination = @"\defc$tempcoll.zip";
  3. string destDirectory = Path.GetDirectoryName(destination)
  4. if (File.Exists(source) && Directory.Exists(destDirectory)) {
  5. File.Copy(source, destination);
  6. }
  7. else {
  8. // Throw error or alert
  9. }
  10.  
  11. \MyComputerNameC$temptemp.zip
Add Comment
Please, Sign In to add comment