Hello. I would like to copy the first x lines of a HUGE text file to another text file. Is there a way to do this with a batch script?
source.txt (contains millions of lines)
output.txt (contains x number of lines)
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
UPDATE: Notice I updated Line 4 of my code. I made a mental note to fix it before posting, but forgot. All I did was add a ‘:’ with a space after it so when you type in the number while running the batch file it looks cleaner.
Law of Logical Argument: Anything is possible if you don’t know what you’re talking about.