Right. Thank you both.
Type: Posts; User: suny
Right. Thank you both.
and here's the original page where i found the solution
C++ copy / delete file
Yup, it's a programming practice, in c++
Sorry, me again. I think I found the solution:
system("copy c:\\org.txt c:\\dest.txt");
Thanks again for your help.
Hi siavoshkc,
Thanks very much for your reply. The code you suggested is indeed a dos command. So did you mean I put this line in a batch file the execute it in my C++ program?
p.s. sorry that...
Can someone please help me on this?
I need to make a copy of an existing .txt file and save it under a different name. The original file needs to be preserved so a simple "rename" can't do the...