TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows XP

bach convert doc files to text format files(eg.xml or html) and viceversa.

Windows XP

 
 
 
Thread Tools Display Modes
Old 05-09-2007, 12:59 AM   #1
kang
Guest
 
Posts: n/a
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
 
Old 05-09-2007, 01:59 PM   #2
Tim Slattery
Guest
 
Posts: n/a
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
 
Old 05-09-2007, 03:59 PM   #3
Bob I
Guest
 
Posts: n/a
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


 
Old 05-09-2007, 03:59 PM   #4
HeyBub
Guest
 
Posts: n/a
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


 
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert pdf files mooneymike Microsoft Office 4 28-08-2007 10:26 AM
Convert MOV Files for Movie Maker KSchrine Windows Vista All 1 21-08-2007 06:33 AM
zip files of pictures are retrieved as text files SandyDee Windows Vista All 9 17-08-2007 11:54 AM
zip files of pictures show up as text files SandyDee Windows Vista All 3 17-08-2007 10:05 AM
convert from files from fat32 to ntfs midnightsun Windows XP 8 16-08-2007 04:17 PM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 02:14 AM.


vBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional