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.
replace string
Name: chipcat Date: February 27, 2009 at 02:57:30 Pacific OS: Microsoft Windows XP Professional CPU/Ram: 2.088 GHz / 767 MB Product: Micro-star international / Ms-6712 Subcategory: Batch
Comment:
i'm searching a solution for replacing a string using findstr
Name: lee123abc Date: February 27, 2009 at 04:53:59 Pacific
Reply:
I'm looking for the winning lotto ticket!
0
Response Number 2
Name: chipcat Date: February 27, 2009 at 06:11:12 Pacific
Reply:
is there no possibility for doing this maybe with another solution
0
Response Number 3
Name: Judago Date: February 27, 2009 at 15:14:34 Pacific
Reply:
If a third part utility is a possibility Sfk is quite a capable tool. The standard edition is free and it is even cross platform!
The only problem is that it can do so much that there is a lot of help to read "sfk dumphelp". Just rename the executable to sfk.exe(from sfk<version>.exe) and put it in either the same directory as the batch or a path directory. Just remember to specify a single file as the default behaviour is normally to recurs subdirectories.
It may even be possible to use batch alone, but with out details I can't be sure...
0
Response Number 4
Name: wizard-fred Date: February 27, 2009 at 15:48:42 Pacific
Reply:
A string in what, replaced by what string?
0
Response Number 5
Name: chipcat Date: February 28, 2009 at 04:28:24 Pacific
Reply:
my problem is that i have to replace the sring "aaa";"bb" b ""; "ccc" in "aaa";"bbb";"ccc" in a txt file.
i'm capable to detect the "bb"b"" in the file with findstr but i'm not capable to replace it in my txt file. there has to be a solution for this but i don't find it. the important is that it has to be in batch
Summary: I'd like to replace string with new one in *.srt file. I found similar solution created by M2 here: http://www.computing.net/answers/pr... ---------------------------------------------------- @echo o...
Summary: Need to find and replace string in a file using Batch program. It is a text file (but with a different extension simple text and there are blanks in the file). I am a Mainframe programmer and new to B...