You have customer data as text files (1 file per customer) produced from webform and stored on a disk. This information needs to be formatted as an XML file (again 1 file per customer) for futher use. What is the easiest and the fastest way to produce such XML file without use of a special tool?
Один файл в один файл. Про строчки, DTD, и тому подобную хрень ничего не сказано. Если не хотят уточнять условия задачи, пусть получают решение, удовлетворяющее заданному условию.
>copy con header
<userdata>
^Z
>copy con footer
</userdata>
^Z
>copy /A header + userdata.txt + footer userdata.xml