1.

Solve : use DOS command to cut from line x to line y in a?

Answer»

hi all,
may i know how to use DOS command to CUT from line X to line y in a file to another file.

Thanks a lot.

Best regards,
LibbyWhich version of DOS or Windows are you using?

Please give US an example of the text you want to cut.
(EXACTLY).

Without this infos it makes not much sense to try to help.

uliokok..soli

The version i use is Windows 2000(version 5.0)
example: i got one file call file1.txt - consists 5 lines of data LIKE: adgfasdacs1623163
sghfgsafsafhasfhkls
afksjfasjfaojsfafjafjpf
ahfsjhfasjfasjfaj1232
nsjfsidfjisdf14564656
ok now i wan to take the text from line 2- line 4 of the file1.txt to another text file call file2.txt

so the file2.txt will consists:
sghfgsafsafhasfhkls
afksjfasjfaojsfafjafjpf
ahfsjhfasjfasjfaj1232

that all.

thanks.
Best Regards,
libby



Discussion

No Comment Found