read,edit text file using bat file

Dell / desktop board / Dell gx620
January 19, 2009 at 22:10:41
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: read,edit text file using bat file

Report •

January 21, 2009 at 02:45:49
vikram86, I'm not sure. Been a while since I did any programming. Strikes me that you simply need to set your 'echo' statement to print a variable. That way you can use an if/then/else to switch the variable 'off/on' and have the machine decide which to use. It may/may not be visible onscreen depending on variable state.
Ed in Texas.

Report •
Related Solutions

Ask Question