I'm looking for Tool/Utility with which I could copy one file inside another, but with option to specify target location in second file. And it must overwrite overlapping content not insert.

for example I've file A.dat with content "ABCDE" and second file B.dat with content "1234567890"

so I specify to copy A.dat inside B.dat at 4th byte and result file would be "123ABCDE90"

it must be with command-line interface and for Windows.

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

How about dd for windows

dd if=A.dat of=B.dat seek=4 bs=1 count=5
link|improve this answer
yes, that's exactly what I was looking for, thanks :) – davispuh Oct 6 '11 at 12:15
feedback

Take a look at dd for Windows. "dd" is a unix utility to do exactly what you're asking for, and there are several Windows ports available.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.