logo
Advanced CSV Converter Home Page
News Download Features Order Contacts
Single file conversion


pxcnv.exe file.db outfile.ext [OPTIONS]

Batch conversion


pxcnv.exe *.db destdir /TOEXT [OPTIONS]

where ext - (.dbf, .txt, .htm, .prg, .xml, .xls, .csv, .sql, .rtf)

Common options

/REVERSE - export in reverse order


/COLUMNS - set columns for export
example:
pxcnv.exe sample.db sample.csv /COLUMNS:NAME,STREET

/COLUMNSLIST - set columns for export from text file
example:
pxcnv.exe sample.db sample.csv /COLUMNSLIST:columns
where columns - text file with column names (one per line)

/SORTBY:NAME - Sort by field Name
/HDR - for put the fields names in first line.

/FILTER:filterfile

filter file format:

Field name:Value|Expression


Examples:

single file conversion:

pxcnv.exe mybase.db out.xls

multiple file conversion:

pxcnv.exe c:\base\*.db c:\exports\ /TOSQL

Text/CSV options

/SEPx - where x delimiter
/SEPTAB - use TAB as delimiter
/SEPPIPE - use | as delimiter

/SINGLEQUOTA - single quotas
/DOUBLEQUOTA - double quotas

Dbase options


/DBASE3 - DBASE III format
/DBASE4 - DBASE IV format
/VFP - Visual Foxpro format

example:
pxcnv.exe c:\base\myfile.db out.dbf /DBASE3

HTML options

/ASFORM - one record on the one page

/NUMBER - record number as first column

/MAXPERPAGE - maximum records on the one page
example: /MAXPERPAGE=100

/TITLE - page title
example: /TITLE=Customers

/COLOR - Text color
example: /COLOR=#0000ff

/BACKGROUND - Background color
/BACKGROUND=#c0c0c0

Copyright © HiBase Group, 2002-2008