Solved

Processing .DOC and respective .TXML file

Posted on 2010-11-08
2
515 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
[X]
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
2 Comments
 
LVL 56

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 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