Create a macro "Macro1" that exports the text file you want and closes the DB.
Then add "/x Macro1" to you command line.
Thank you for the reply, I tried your suggestion and I have not been able to get it to do what I want. Specifically (failed to mention this earlier) that I would like this to be dynamic in nature, that is, I would like to be able to specify the following at the time of the execution of the Macro:
1. name of the source database
2. format of the output ( comma or tab delimited)
3. name of the output file
Is this possible?
thanks