PC Review


Reply
Thread Tools Rate Thread

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

 
 
kang
Guest
Posts: n/a
 
      5th Sep 2007
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
 
Reply With Quote
 
 
 
 
Tim Slattery
Guest
Posts: n/a
 
      5th Sep 2007
kang <(E-Mail Removed)> 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)
(E-Mail Removed)
http://members.cox.net/slatteryt
 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      5th Sep 2007
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


 
Reply With Quote
 
HeyBub
Guest
Posts: n/a
 
      5th Sep 2007
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the easiest way to convert unix/linux text files to DIS/Win text files? Eugen Austermann Windows XP Help 9 22nd Dec 2007 02:22 AM
What is the easiest way to convert unix/linux text files to DIS/Win text files? Eugen Austermann Windows XP General 0 21st Dec 2007 04:18 PM
convert all types of files to tabdelimited text files Ravi Microsoft Access External Data 1 12th Jan 2006 12:50 PM
task scheduler and bach files running ray.koerner@gmail.com Microsoft Windows 2000 CMD Promt 6 28th Sep 2005 06:00 PM
Beethoven or Bach MP3 files A man Freeware 4 26th Feb 2004 12:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:03 AM.