Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
replacing the string using bat file
Name: vikram86 Date: January 14, 2009 at 20:56:40 Pacific OS: Windows XP CPU/Ram: P4 Product: Dell / desktop board / Dell gx620 Subcategory: General
Comment:
Hi, 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.
Name: orange Date: January 20, 2009 at 13:00:15 Pacific
Reply:
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.
Summary: Hi, I want to write a RunNumber.vbs file which can get the count of the number of say #defines present in any.c files present in the current directory. ...
Summary: i have a .txt file which starts from impact of chr(12) and ends with chr(24). i want to remove theses effect from txt file. I have studied your bat file for editing in text file. It is excellent ....
Summary: there are some .SSRES files. they are some game files. i wanted to open them with Notepad, but i accidentally click on Paint and the "Always use this program to open this kinda file" is checked. now t...