If you’ve used TCC for any length of time, you’ll know that the best way to develop is in the touch points. That being said you’ll have to write a batch or shell script to execute. Here is the formulation of the export:

taleoconnectclient.bat [cfg file to be called] [sq file to be called] [Where the output file goes]

The import is as such:
taleoconnectclient.bat [cfg file to be called] [file to be sent] [response file]