Hello all. I need a batch script that can do the following...
Search in the directory c:\program files\bquest\
1) Find any and all files called "config.cfg" (basically a text file) in directory and subdirectories
2) Find 3 lines in the file, delete them individually, and then add 3 new lines to the file
exact lines to be deleted...
exact lines to be added (only if lines above were found and deleted)
There should be no output, and no error message if it can not find the exact lines to be deleted. If these exact line values are not found...the new lines should NOT be added to the file.
Thanks in advance!!