Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Processing .DOC and respective .TXML file

Posted on 2010-11-08
2
510 Views
Last Modified: 2012-05-10
Hello Experts,

I would like to process the .DOC and respective .TXML file by calling another CMD batch script using VB Script.

Folder contains both .DOC and .TXML files...script should process each .DOC file by using an command calling Merging "DOC file" "TXML file"

for example: Merge "test1.doc" "test1.doc.txml"

Can you please provide any sample script or references for this.

Thanks,
Shailesh
0
Comment
Question by:ShaileshShinde
2 Comments
 
LVL 53

Accepted Solution

by:
Bill Prew earned 500 total points
ID: 34088369
Here's a sample BAT script to do the merging part.

@echo off
for %%A in ("*.doc") do merge "%%A" "%%A.txml"

place that in the folder with the files and run it, or launch it from a VBS script if you want to run it that way.

~bp
0
 
LVL 1

Author Closing Comment

by:ShaileshShinde
ID: 34091087
Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Script to copy or move mouse-selected collection of files plus targets referenced by shortcuts (.lnk) The purpose of this article is to help illuminate the real challenges and options available (where they may exist) for utilizing simple scriptin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question