Need some work done? Post a Project Today
This time I need a small program that merges 2 bin files in 1, and spits 1 file in 2.
Files merged and split following specified pattern, please see attached samples.
It should work in DOS box of Win 2K and Win XP.
Use simple syntax as following:
for merging files
BINUTIL /MERGE /SOURCEFILE1.BIN /SOURCEFILE2.BIN /MERGEDFILE.BIN
for splitting files
BINUTIL /SPLIT /FILE.BIN /SPLITFILE1.BIN /SPLITFILE2.BIN
Be able to use script/text file for multiple merges and splits
Where content of the script file should look like this
/MERGE /SOURCEFILE1.BIN /SOURCEFILE2.BIN /MERGEDFILE1.BIN
/MERGE /SOURCEFILE3.BIN /SOURCEFILE4.BIN /MERGEDFILE2.BIN
/MERGE /SOURCEFILE5.BIN /SOURCEFILE5.BIN /MERGEDFILE3.BIN
/SPLIT /FILE1.BIN /SPLITFILE1.BIN /SPLITFILE2.BIN
/SPLIT /FILE2.BIN /SPLITFILE3.BIN /SPLITFILE4.BIN
Display syntax listed above after BINUTIL /?
Have some sort of check for existing filenames before the command or script is executed.
Please see attached files for samples of what source and result files should look like
Please let me know if You have any questions.