Computing.Net > Forums > Programming > replace string

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
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


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: replace string

nt batch to replace string in srt file www.computing.net/answers/programming/nt-batch-to-replace-string-in-srt-file/19260.html

find and replace string in a file www.computing.net/answers/programming/find-and-replace-string-in-a-file/19987.html

Replace String in .bat file www.computing.net/answers/programming/replace-string-in-bat-file/19152.html