Arduino Result to text file

What version of Windows are you running on?
What COM port are you using?
Can you post your code?