Page 1 of 1

Command for dbf to CSV

PostPosted: Tue Jan 29, 2019 5:17 pm
by ajphoon
Hi Admin,

Im not so good in command and need some help in this

Make an example in my situation
I got a folder full off *.dbf file name as <data>
I need all this dbf files convert to .csv into folder <convert>
and also all the .csv need to retaine the name as the *.dbf.

Example:
010119.dbf will be 010119.csv

Can help me on this command.
Because i try many times but still failed.
Thanks in advance.

Re: Command for dbf to CSV

PostPosted: Tue Jan 29, 2019 7:08 pm
by Admin
Hello there,
here is the command for your BAT file:
Code: Select all
for %%f in (D:\data\*.dbf) do "c:\Program Files\DBFCommander\DBFCommander.exe" -e "%%f" "D:\convert\%%~nf.csv"


Other possible options (such as delimiter, etc.) add at the end of the line.

Re: Command for dbf to CSV

PostPosted: Thu Jan 31, 2019 11:46 am
by ajphoon
Hi admin,

I receive this error.
Cannot open file "D:\-e" The system cannot find the file specified.

May i know what cause the issue?
Thanks

Re: Command for dbf to CSV

PostPosted: Thu Jan 31, 2019 4:45 pm
by Admin
1. Please ensure that you have DBF Commander Professional edition installed at the path specified.
2. Create a text .BAT file, paste the command I've placed above, change the paths to yours. Save the file and run it.

Re: Command for dbf to CSV

PostPosted: Fri Feb 01, 2019 3:52 am
by ajphoon
Hi admin,

Is that means only pro version can do it ?
The free version cannot do the job?

Re: Command for dbf to CSV

PostPosted: Fri Feb 01, 2019 8:40 am
by Admin
Yes, only Pro version supports batch mode.

Re: Command for dbf to CSV

PostPosted: Fri Feb 15, 2019 10:01 am
by ajphoon
Hi Admin,

The free can do the same jobs except batch convert ? am i correct ?
Can i get a free activation code ?
Thanks in advance

Re: Command for dbf to CSV

PostPosted: Fri Feb 15, 2019 10:32 am
by Admin
No, Pro version have much more features and improvements besides batch mode support. Actually, Free version doesn't work properly and is not supported any more (since 2010).
We can offer you a 25%-off student discount. Please email to support@elphsoft.com