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?
This is a discussion on Merging files (*.001, *.002 etc.) within the Windows Programming forums, part of the Platform Specific Boards category; I've got a problem with merging files. I don't know how to join files like: *.001, *.002 etc. from (for ...
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
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.
Arrogance breeds bad code