Convert Powerpoint to Text/HTML from the command line

I didn't know quite how to categorise this question as it's an odd one, so apologies if I've added it to the wrong category. And if I have please point me to the correct category so I can ask the question again.

I have been using catppt in batch files to extract text from powerpoint files on my Windows 2003 server. It works fine EXCEPT there seems to be a bug in it and the -b option which is supposed to allow you to specify a character string to be placed at the end of each slide is unrecognised and the default operation of entering a formfeed character doesn't work either.

Up until now it's been OK because I have only been cataloguing the text for searching purposes. However I've just been handed a new project for creating a text preview for these files and of course I've no way of splitting the text into separate slides.

I've been googling for a couple of days on the subject and have drawn a complete blank. There are plenty of solutions for doing it in the windows GUI but not at the command line. So I thought I would throw it open to the experts.

Does anyone know of a command line DOS/Windows programme which can extract text or HTML from a Powerpoint file?

500 points as ever :-)
Dave6969Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

scrathcyboyCommented:
catppt is the only one I have seen --
http://www.s2services.com/powerpoint-text-extractors.htm

But you can also check this list --
http://www.google.com/search?num=30&q=DOS+extract+text+from+.PPT

However, remember that PPT is graphics like PDF, so yo could convert all of them to PDF and run a text extractor on PDF file.  If less than 50 files, easier to do it by hand probably.
0
Dave6969Author Commented:
Cheers for that.

Yeah catppt would suit my purposes perfectly -- if only it weren't broken in the important respect of reliably  splitting up slides. :-(  I can't believe the guy who write it missed that out when he managed it in the companion apps! And the app is pretty hard to track down (even the link on that page doesn't work) so I'm guessing the guy isn't developing it any further.

It did occur to me that if I could change the ppt into a pdf with a page for every slide I could extract the text that way, but how to convert it to a pdf with a command line app? Again I've looked but all the ones I've seen have a GUI (and not often a very goon one either!)

Unfortunately there are hundreds of the things, so doing it by hand isn't an option I'm afraid.
0
scrathcyboyCommented:
"but how to convert it to a pdf with a command line app?"

It's no easier.  You have to take what you can get, or convert them all manually to PDF and then you can select text on each one in PDF.  You can't call that person's app "broken" just because he decided to do it one way.  That is the decision of independent developers, especailly when you get it for FREE !!!!
0
GlennaShawCommented:
Here's this one, but I can't attest to it's effectiveness:
http://www.softpedia.com/get/Office-tools/Other-Office-Tools/All2Txt.shtml
0
Dave6969Author Commented:
OK. Well thanks.

I did try All2txt but to be honest it was even worse because all the text came out on a single line, so at least catppt breaks it down to one line per line. I guess I'll just have to do the best I can with catppt.

Oh, and I can call that app broken. On all the man pages I've seen for it, it specifically documents a -b option for adding a string to place at the end of each slide. I know it's free and I'm grateful to guy, but why put in a useful option and then not ensure it works?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Batch

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.