@dannypet: dms text test.dms >ram:dms.txt
is closer to what you want but will still include the name and copyright info of the program.
If you choose to follow StingRay's advice then your results will stay the same. DMS doesn't do exactly what you asked for, whereas the b command in xDMS
does i.e. it just dumps the banner and nothing else.