MS OS - Microsoft Forum to Usenet Gateway Header Right
Navbar Left Navbar Right

MS OS - Microsoft Forum to Usenet Gateway » Microsoft Operating System Usenet Gateway » Windows XP » bach convert doc files to text format files(eg.xml or html) and viceversa.

I have to do some search and replace jobs for bunch of doc files. I have a idea to do the jobs in a handy way. Convert them to text



Reply
Old 09-04-2007, 08:46 PM   #1
kang
Guest
 
Posts: n/a
Default bach convert doc files to text format files(eg.xml or html) and viceversa.

I have to do some search and replace jobs for bunch of doc files.
I have a idea to do the jobs in a handy way.
Convert them to text formats and do the search and repalce jobs and
convert back to the doc formats.

As I know Word doesn't support the batch converting job, is there a
utility or something for batch converting?

TIA
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2007, 09:12 AM   #2
Tim Slattery
Guest
 
Posts: n/a
Default Re: bach convert doc files to text format files(eg.xml or html) and vice versa.

kang <kang@hao.com> wrote:

>I have to do some search and replace jobs for bunch of doc files.
>I have a idea to do the jobs in a handy way.
>Convert them to text formats and do the search and repalce jobs and
>convert back to the doc formats.


I see a problem right away. When you convert from doc to text you lose
whatever formatting you specified in the doc. When you convert back
from text to doc, there's no way to recover that information.

>As I know Word doesn't support the batch converting job, is there a
>utility or something for batch converting?


I would investigate Word's support for VBA (Visual Basic for
Applications). You should be able to write something to perform your
task in that language, and run it right inside Word.

--
Tim Slattery
MS MVP(DTS)
Slattery_T@bls.gov
http://members.cox.net/slatteryt
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 09-05-2007, 11:15 AM   #3
Bob I
Guest
 
Posts: n/a
Default Re: bach convert doc files to text format files(eg.xml or html) andvice versa.

You could likely do it with a combination of batch/script and a Macro.
Take a look at "AutoIT" as a possible solution. I've used it to do
multiple search and replace in .PDF files.

http://www.autoitscript.com/autoit3/

kang wrote:

> I have to do some search and replace jobs for bunch of doc files.
> I have a idea to do the jobs in a handy way.
> Convert them to text formats and do the search and repalce jobs and
> convert back to the doc formats.
>
> As I know Word doesn't support the batch converting job, is there a
> utility or something for batch converting?
>
> TIA


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-05-2007, 11:22 AM   #4
HeyBub
Guest
 
Posts: n/a
Default Re: bach convert doc files to text format files(eg.xml or html) and vice versa.

kang wrote:
> I have to do some search and replace jobs for bunch of doc files.
> I have a idea to do the jobs in a handy way.
> Convert them to text formats and do the search and repalce jobs and
> convert back to the doc formats.
>
> As I know Word doesn't support the batch converting job, is there a
> utility or something for batch converting?
>


Google search for (search+replace+multiple+doc+files) yields zillions of
hits (30,600,000).

Among the first few are several programs that will do the job.

Here's a free one:
http://www.dirfile.com/multiple_file...nd_replace.htm


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -5. The time now is 03:32 PM.


Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Skin designed by CompletevB
Copyright © 2005-2008 Robert Schwarz, Sr. - All rights reserved - MS OS is an independent web site and is not affiliated with Microsoft Corporation.