Make sure that your current directory is your mame directory (cd c:\mame or wherever)
Run it first without the >dkong.txt and confirm that you see the verbose output. Then add the >dkong.txt and run it again.
After, do a DIR dkong.txt to see the size of the dkong.txt file.