Copy contend of File A to specific position

March 31, 2011 at 02:55:40
Specs: Windows 7
Hello All,

May you can save me some time with try and error how to do this with a batch:
I need to copy the hole content of file A (existing) to be copied to a specific position of file B which already exist.

Can i do this in a simple batch?
Thx already so much if you can help me out on this

Edit: In text File B i can set a "Word" as pointer witch which then can be replaced with the "value" from file A

Edit2: i found already type fileA >> fileB but this is appending, just like this but at a Position in B is my suck now

See More: Copy contend of File A to specific position

Report •

March 31, 2011 at 06:19:16
Here's a Ruby for Windows script"file1").read()"file2").read()
puts file2.gsub( /word/ , file1)

Report •

March 31, 2011 at 06:51:42
Hy thx for the Ruby, unfo. the systems i run on are do not have ruby.
i helped my self and use my edit 3 and splitted file B in B1 and B2 and merge it this way in the middel right or not works ;-)

Report •

Related Solutions

Ask Question