Copy some lines from one file to another

Closed
Rahul - Jul 7, 2008 at 12:40 AM
 nitin jain - Dec 15, 2008 at 08:31 AM
Hello Gurus,

I am extremnely new to scripts

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Courier New;}{\f1\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 ProMAX Data Export: Parameter Table - PreSTM_VELO_RMS\par
Area: 3d Line: khag-matim-sps\par
CDP X Coor Y Coor Inline
----------------------------------------------------------------
17533.0 3239887.5 1081418.2 1020.0

up to the six line it is the header of the file ,Whic may be the 10 in another file so I have to ask user that upto when your header is and say user type 10 in the above file it will be 6 then it should copy upto 6+1 in the another file.

can any body please guide me on this ?

Thanks & regards
Related:

1 response

softwins Posts 11 Registration date Tuesday March 18, 2008 Status Member Last seen May 29, 2009 5
Jul 7, 2008 at 05:18 AM
I think that there is a command missing




Search for the linking command it will copy automaticly .
0
Hi,
I depirately need a DOS command that can copy a function/some line of code from network/share area and paste it to the another function (this function is inside one class. we know the class and function name already just want to append sone line in that function), I want to make a batch file that contain DOS command so that when user run this Batch file all the replacement work will done automatically. Please repply
0