-l indicates that you provide a line position; -i is only for insert (and not overwrite). Use both switches, like in the example
Originally Posted By: /help /write
/write -il5 c:\info.txt This line will be inserted at the 5th line in the file