replacing the string using bat file

Dell / desktop board / Dell gx620
January 14, 2009 at 20:56:40
Specs: Windows XP, P4
i've a following question on Batch Programming.

I've a several sql script files which is generated while installing oracle11g.

In Some of the queries or script files i've "set echo on".

so, i need one batch file which replaces "set echo on" with "set echo off" in all the sql scripts in that folder.

I need batch file to replace text in windows environment.

Please help me...

Thanks in advance...


See More: replacing the string using bat file

Report •

January 20, 2009 at 13:00:15
I haven't found any batch search and replace that seem useful. There are references to other scripting languages.
What other programming options do you have?

Something like Word. Or Access ???

You have to read each script file, determine if the string exists,
if it does replace it then go to the next script file.
if it doesn't exist go to the next script file.
Do this until all scripts have been processed.

Report •
Related Solutions

Ask Question