My MS-DOS knowledge isn't quite as sharp as I would like it to be, so I need a bit of help with this simple batch file for my own learning.
The batch file must look in the file "EXAMPLE.DAT" and then echo the first line of text from it (which happens to be the only text in it, if that helps) and echo it into the file "OUTPUT.DAT".
I suspect it would be only one or two lines of code, which at some point says something like "echo SOMETHING >> output.dat".
Could answerers please put the working code and if possible an explanation of the code they used into their answers. Thanks.
2006-09-16
05:15:41
·
4 answers
·
asked by
Rich
5
in
Computers & Internet
➔ Programming & Design