Command for dbf to CSV

Forum for DBF Commander discussing.

Command for dbf to CSV

Postby ajphoon » Tue Jan 29, 2019 5:17 pm

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.
ajphoon
 
Posts: 4
Joined: Tue Jan 29, 2019 4:19 pm

Re: Command for dbf to CSV

Postby Admin » Tue Jan 29, 2019 7:08 pm

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.
Best regards,
Oleg Zhechkov
User avatar
Admin
Site Admin
 
Posts: 124
Joined: Wed Apr 21, 2010 7:27 pm

Re: Command for dbf to CSV

Postby ajphoon » Thu Jan 31, 2019 11:46 am

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
Attachments
error.JPG
error.JPG (53.43 KiB) Viewed 52686 times
ajphoon
 
Posts: 4
Joined: Tue Jan 29, 2019 4:19 pm

Re: Command for dbf to CSV

Postby Admin » Thu Jan 31, 2019 4:45 pm

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.
Best regards,
Oleg Zhechkov
User avatar
Admin
Site Admin
 
Posts: 124
Joined: Wed Apr 21, 2010 7:27 pm

Re: Command for dbf to CSV

Postby ajphoon » Fri Feb 01, 2019 3:52 am

Hi admin,

Is that means only pro version can do it ?
The free version cannot do the job?
ajphoon
 
Posts: 4
Joined: Tue Jan 29, 2019 4:19 pm

Re: Command for dbf to CSV

Postby Admin » Fri Feb 01, 2019 8:40 am

Yes, only Pro version supports batch mode.
Best regards,
Oleg Zhechkov
User avatar
Admin
Site Admin
 
Posts: 124
Joined: Wed Apr 21, 2010 7:27 pm

Re: Command for dbf to CSV

Postby ajphoon » Fri Feb 15, 2019 10:01 am

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
ajphoon
 
Posts: 4
Joined: Tue Jan 29, 2019 4:19 pm

Re: Command for dbf to CSV

Postby Admin » Fri Feb 15, 2019 10:32 am

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
Best regards,
Oleg Zhechkov
User avatar
Admin
Site Admin
 
Posts: 124
Joined: Wed Apr 21, 2010 7:27 pm


Return to DBF Commander Professional

Who is online

Users browsing this forum: No registered users and 2 guests

cron