How to copy file from C:\source\file.exe to C:\dest\file.exe I want to have fixed code, I mean I do NOT want any command line arguments.
Platform:windows
Last edited on
You open both files, one for input, the other for output and truncated.
Then read from the input and write to the output repeatedly until you reach end-of-file.
How I do it? can some1 post here the source?
I also have space in path... dest "C:\Documents and Settings\file.txt"
I need program similar to "copy" command in cmd.
Last edited on
Not really. This is C++ forum where we can help you, not do it for you.
Last edited on