Search found 2 matches

by kuuuuu
29 Jun 2012 01:37
Forum: DOS Batch Forum
Topic: Re: Code for how to append a string for every occurance.
Replies: 3
Views: 2233

Re: Code for how to append a string for every occurance.

Hello dyreen,
The above code is working fine but the result is not geting copied to out file.

Thanx a ton.. :) :)
by kuuuuu
29 Jun 2012 00:09
Forum: DOS Batch Forum
Topic: Re: Code for how to append a string for every occurance.
Replies: 3
Views: 2233

Re: Code for how to append a string for every occurance.

abc.txt contains
sachin
ramesh
suresh
ramesh
ganguly

i want to append a string lets say "xyz" for every occurance of "ramesh" in the above file.

output shud be :
sachin
xyz
ramesh
suresh
xyz
ramesh
ganguly

thanx in advance ..reply awaited.