Hi,
I have a directory containing some word documents (*.doc). I need to code a batch file which can open the doc and if the document contains the text “LOGO THREAD COLOR SHEET”, I need to create a {filename}.prn file.
Can some one help?
Thanks,
Balaji.
Thanks,
Balaji.
That’s harder to do, and would probably require the use of Word’s COM objects. Batch cannot access COM, so here’s a VBScript: