OSQL is run the command line. You can put the OSQL command in a batch file (.bat) and use Scheduled Task to schedule and execute it if it's something that needs to be an regular basis. The typical command for this type of output might be.
osql -E -S <servername here> -d <database name here> -h-1 -n -w1000 -i "<sql script name here>" -o "<output path\filename here>"
ex: osql -E -S D00036890 -d junk -h-1 -n -w1000 -i "comma_delim.sql" -o "e:\unixfiles\comma_delim.txt"
"There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies."
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.