You can specify input and output files on the command line with the -i and -o options.
isql does not provide formatting options for the output. However, you can use the -n option to eliminate the isql prompts and other tools to reformat the output.
If you use the -e option, isql echoes the input to output. The resulting output file contains both the queries and their results.