Page 1 of 1

Export database as tab delimited in a script

Posted: Tue Jan 08, 2013 10:22 am
by Eric
Here is a command that will export the active database as a text tab delimited file, in the current directory, with the same name as the active database in a script.

Code: Select all

Set Safety OFF
copy to "C:\temp_.csv" type csv
zap 
append from "C:\temp_.csv" type delimited
COPY TO FORCEEXT(dbf(),"txt") TYPE DELIMITED WITH TAB