Menu

Copy a real big number of line

2008-03-28
2012-11-13
  • Nobody/Anonymous

    Hello,
    I need to copy about 260000 lines from a file to another one. I don't understand why Notepad++ is able to copy only the first 123 lines (the first time I select and copy the lines, the second time it can copy 246, the third 492 and so on). Doees someone know a solution for this problem?
    Thanks!

     
    • Nobody/Anonymous

      I've already done this. But if I select, for example, 1000 lines and I press Ctrl+C and then I paste these lines in a newly created file (both files edited with notepad++), it paste only 123 lines.
      The same thing happens if I open the source file with notepad++ and the destination file with another editor (wordpad, i.e, but also other).
      The same thing, again, happens in the other direction: if the source is opened with wordpad and the destination file with notepad++.
      If I open the source file with notepad and the destination file with notepad++, instead, I'm able to copy the 1000 lines.
      I hope I explained well which is the strange behaviour!

       
    • Nobody/Anonymous

      I guess you should verify if this still and consistently happens.

      Perhaps the best thing to do is open the file to copy the lines from and then remove all those lines that you don't want to copy. You can save the file with another name or simply copy all lines by pressing CTRL+A and CTRL+C. Then you should be able to paste all these lines in your other file by pressing CTRL+V.

      Alternatively, you can copy the other files' contents to the newly created file with the lines you originally wanted to copy, if the other file contains (much) less lines. Don't forget to save the edited file using the name of the other file.