Ask Your Question
0

Convert to CSV in Windows command-line [closed]

asked 2014-01-13 16:48:07 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello,

I want to convert an XLS file to CSV filetype.

Is there a way to do this in Windows command line?

I found a way to do it on Ubuntu but its not working on Windows :)

Thank your for your help.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-18 14:16:55.066776

1 Answer

Sort by » oldest newest most voted
0

answered 2014-01-13 17:34:48 +0200

beamkiller gravatar image

OK,

I solved the issue.

You need to add to Enviroment variables PATH the path to soffice.exe, elsewhere the soffice is not recognized.

After that with this line I was able to convert the file. Is there a way to use other delimeter?

soffice --headless --convert-to csv %Input%
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-01-13 16:48:07 +0200

Seen: 1,927 times

Last updated: Jan 13 '14