I want to save one file from one path to another path.
Eg:
Original path : C:\File.txt
New path : D:\Folder\File.txt
Can i use:
File.Move(“C:\File.txt”, “D:\Folder\File.txt”);
But i think this will remove file from original path. (C#)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
File.Copy Method
Copies an existing file to a new file.
How to: Copy, Delete, and Move Files and Folders (C# Programming Guide)