query output to text file

I have windows scheduler that will run some queries in toad.I want the query output to be automatically saved in a text file at some location.

What is the syntax to send query output to text file automatically from toad?