I've got a problem with merging files. I don't know how to join files like: *.001, *.002 etc. from (for example) Total Commander using C++. Have you hot any ideas or suggestions?
I've got a problem with merging files. I don't know how to join files like: *.001, *.002 etc. from (for example) Total Commander using C++. Have you hot any ideas or suggestions?
Assuming you can figure out the original file extension, try something like this:
copy /b part.001 + part.002 part.zip
In other words, you simply concatenate all the fragments together.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
If you want more control over the merge process and the files are non-binary (IE: extracted from the zip) you can look into WinMerge. I also recommend it for a source code merge tool.
Last edited by VirtualAce; 07-11-2010 at 09:36 AM.