New
#1
start line - end line to output file (BAT script)
input.txt
it is a text file with 10 lines in it
i want to create a text file from line 3 to 7one
two
three
four
five
six
seven
eight
nine
ten
it will be output.txt
i want to know, how i can create a file that getting lines from another file with start line and end line arguments with a batch script?three
four
five
six
seven
it was just an example
i have a file with over 200 lines in it, i want to get 54 lines from it and make an output file
more command; you can skip lines so you can set a start line, i will skip 2 lines with this command, the output file starts with 3rd line, but i do not know how i can give an end line
more /e +2 input.txt > output.txt
three
four
five
six
seven
eight
nine
ten