Hi,
I am trying to find a way to auto insert some lines of text into a text file at a specific location. Here is what i am trying to do-
Two lines of text to be inserted into file:-
[start]
original sender name
Location of file where the above text lines need to be inserted:-
1. From....
2. Return-path...
3. Received....
4.
5. ------=_NextPart....
6. Content-Type....
7. boundary....
8.
9. ------=_NextPart....
10. Content-Type....
11. charset....
12. Content-Transfer....
13.
14.
14+n.------=_NextPart.... <-To insert just above line
15+n.Content-Type
I would like to insert the 2 lines of text just above line# 14+n.
Appreciate all the help that I can get.
Thanks in advance.
KeithL
I am trying to find a way to auto insert some lines of text into a text file at a specific location. Here is what i am trying to do-
Two lines of text to be inserted into file:-
[start]
original sender name
Location of file where the above text lines need to be inserted:-
1. From....
2. Return-path...
3. Received....
4.
5. ------=_NextPart....
6. Content-Type....
7. boundary....
8.
9. ------=_NextPart....
10. Content-Type....
11. charset....
12. Content-Transfer....
13.
14.
14+n.------=_NextPart.... <-To insert just above line
15+n.Content-Type
I would like to insert the 2 lines of text just above line# 14+n.
Appreciate all the help that I can get.
Thanks in advance.
KeithL