donar Posted March 3, 2015 Share Posted March 3, 2015 hi i am new here , i need some help using notepad++ to split up a large file , 10,000 lines into 10 x 1000 lines , could anyone assist please. i only want to use notepad++ , i do not have word , open office etc as i have no need or use for them i do not want them. please , detailed directions to do this job in notepad++ would be most welcome . i have both XP Pro in one PC and win7 in this laptop i do not care which i use, thank you donar Link to comment Share on other sites More sharing options...
0 zhangm Supervisor Posted March 3, 2015 Supervisor Share Posted March 3, 2015 Thread moved from Introduce Yourself to Software Discussion & Support. Link to comment Share on other sites More sharing options...
0 Romero Posted March 4, 2015 Share Posted March 4, 2015 Does it have to be done with NP++? I'd recommend split instead. It's a command-line *NIX utility (no need to be afraid of these!) but is also available as a pre-compiled binary for Windows with Cygwin or GNU CoreUtils. I suggest the latter since it's a much smaller download with no setup required (just extract and run). 1) From the page linked to above download the Binaries ZIP and the Dependencies ZIP (current version is 5.3.0). 2) Extract split.exe from coreutils-5.3.0-bin.zip and both files (i.e. libiconv2.dll and libintl3.dll) from coreutils-5.3.0-dep.zip 3) Place these 3 files along with your text file in the same folder. 4) Open a command prompt window and navigate to that folder (in Win7 either by typing cmd in the address bar of Windows Explorer when the folder is open or Shift+right-clicking the folder and clicking Open Command Window Here). 5) Assuming your text file is named Input.txt, copy+paste the following command and press Enter: split -d --lines=1000 Input.txt Output 6) You'll end up with 10 files named Output00 through Output09, each with 1000 lines. If you want you can add the .txt extension to them since split omits it. The process might seem lengthy because I spelt out every step in detail but actually is quite quick and easy. Let me know if you face any problems. Tip: In future I recommend using better thread titles. Link to comment Share on other sites More sharing options...
Question
donar
hi i am new here , i need some help using notepad++ to split up a large file , 10,000 lines into 10 x 1000 lines , could anyone assist please.
i only want to use notepad++ , i do not have word , open office etc as i have no need or use for them i do not want them.
please , detailed directions to do this job in notepad++ would be most welcome .
i have both XP Pro in one PC and win7 in this laptop i do not care which i use, thank you donar
Link to comment
Share on other sites
2 answers to this question
Recommended Posts