Easy. Use Enterprise Manager. Drill down to SQL Server Agent. Expand that. Find Jobs. Right click, select New Job. Give the job a name. Go to Steps tab. Click New Step. Fill in the blanks. Select the Advanced tab. That's where you tell it where to output the information. Make sure you give it the FULL file name (\\<path>\myfile.txt). Select Apply. Go to the Schedule tab. Schedule when you want the job to run. Click on Apply, OK.
That's basically all you need to do.
One point, if you type in the commands in the job step window, it will only take a certain amount of code lines. I suggest creating a stored procedure (refer to the Books OnLine for CREATE PROCEDURE) and run that command via the job step.
-SQLBill