What "Anteaus" wrote was all that you needed to know about sending output to a file.
However, I wanted to give you a little bit of general advice about the use of
"switches".
In your example "arp-a" the "-a" was the "switch".
But you should *always* leave a space between the command and between any individual
switches.
e.g. : dir /a /o /p
arp -a -g
==
Cheers, Tim Meddick, Peckham, London.