Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
May 12, 2004
Download ADDLINE.ZIP and unzip it.
The ADDLINE.TXT file contains:
ADDLINE.EXE : Text file Processor : by Steven WettbergUsage: ADDLINE [LINE TO ADD] [WHAT LINE NUMBER] [FILE TO PROCESS]ADDLINE adds the specified line at the line number you specify, additionallyyou must specify the full path to the file you wish to change.The program may be rerun often to ensure the line stays intact.Example: ADDLINE @Echo off 5 C:Autoexec.batThis example adds the line "@Echo off" as the fifth line of C:Autoexec.bat.
When I typed:
addline this will be line number 1 in wireless.txt 1 c:zipnewwireless.txtThe following line appeared as line number 1 in the c:zipnewwireless.txt file:THIS WILL BE LINE NUMBER 1 IN WIRELESS.TXT
You May Also Like