Solved

Processing .DOC and respective .TXML file

Posted on 2010-11-08
2
507 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 51

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now