it works!! I was missing the ^
many thanks^^
Search found 3 matches
- 14 Mar 2013 01:12
- Forum: DOS Batch Forum
- Topic: Help with string replace
- Replies: 4
- Views: 2401
- 14 Mar 2013 00:25
- Forum: DOS Batch Forum
- Topic: Help with string replace
- Replies: 4
- Views: 2401
Re: Help with string replace
it has many occurences and the names of the images changes, however <icon>http://www.example.com/ stays the same and </icon> too. I would like to do it in batch since it is just a part of a batch programm
- 13 Mar 2013 23:14
- Forum: DOS Batch Forum
- Topic: Help with string replace
- Replies: 4
- Views: 2401
Help with string replace
Dear Guys, I am trying to convert/replace a part in a long txt file. <icon>http://www.example.com/img.jpg</icon> to <icon src=" img.jpg " /> I managed to replace everything except signs like < > = using this code: @echo off setlocal enabledelayedexpansion set "filename=C:\ProgramData\...