Introduction - If you have any usage issues, please Google them yourself
The file merge algorithm reads the original file unity as a binary file, and then writes a new binary in turn to complete the merge operation; The reverse operation can split the file... First you define a generic file representation, such as the following format: file name length (4 bytes), file name, file length (4 bytes), file contents. Then create a new file and write the files you want to add (as binary files). For reducing it, first read in the merged file, and then in turn restore files in the following process: read the file name length, according to the length of the file name, read the file length, according to the length of the file content, can be written to disk.
Packet : 41695023combinefile.rar filelist
combinefile.exe