Solved

Processing .DOC and respective .TXML file

Posted on 2010-11-08
2
508 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 52

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
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 …
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

12 Experts available now in Live!

Get 1:1 Help Now