How to copy a File to another place using C++
-
hi all, suppose that I have a File Called "abc.mdf" in C Drive ..Now I want to copy it to another directry in "D" Drive .. So How do I do it using C++? Thanks in advance..
-
hi all, suppose that I have a File Called "abc.mdf" in C Drive ..Now I want to copy it to another directry in "D" Drive .. So How do I do it using C++? Thanks in advance..
You can call Win32 API CopyFile( "C:\\abc.mdf", // name of an existing file "D:\\abc.mdf", // name of new file FALSE // operation if file exists ); Sonork 100.41263:Anthony_Yio
-
hi all, suppose that I have a File Called "abc.mdf" in C Drive ..Now I want to copy it to another directry in "D" Drive .. So How do I do it using C++? Thanks in advance..
CopyFile()
orSHFileOperation()
.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow