Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 09-04-2007, 05:50 PM
kang
Newsgroup Contributor
 
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 09-04-2007, 05:50 PM
  #2 (permalink)  
Old 09-05-2007, 06:20 AM
Tim Slattery
Newsgroup Contributor
 
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 09-05-2007, 08:20 AM
Bob I
Newsgroup Contributor
 
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


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

  #4 (permalink)  
Old 09-05-2007, 08:30 AM
HeyBub
Newsgroup Contributor
 
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


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

Reply

Bookmarks

Thread Tools

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Convert Video Files to iPod Format iphonefan General Questions 4 11-13-2007 03:43 AM
zip files of pictures are retrieved as text files SandyDee Windows Vista 9 06-03-2007 12:40 PM
zip files of pictures show up as text files SandyDee Windows Vista 3 05-21-2007 07:10 PM
convert speech files to text. flipnfly8 Microsoft Office 7 02-25-2007 12:47 PM
Excel files show 'unrecognizable format' & Word files are 'decoded Shawaz Microsoft Office 1 01-15-2007 11:24 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 01:43 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0