1.

Solve : Batch File for Find and replace multipal string in any file format?

Answer»

I want to create a batch file for finding and replacing a string in *.vb file.Why? Do you use VB?
Can't that be done in VB?
How to do the same in other file format LIKE .doc,.txt.exlFor a batch file, find and replace is limited to files that are some form of text format. Other formats have STRUCTURES that are not built for free replacement of text by another program.

A program such as MS word can accept a macro that OPENS a file, REPLACES text, saves the file and quits. The process can be started by a batch program or with some other agent.
You may want to read this:
How to use startup command line switches to start Word

Word is able to convert MANY file formats.
But not all kinds.



Discussion

No Comment Found