Im trying to write vba code for MS Word that will send all the text that is being typed in the word document to a .txt file on the c:\. How do i do this?

Also is there a way of writing to standard output (DOS) from vba?

Thank you