Here a basis for the unusual bit ... swapping {} to []
swap.bat
Code:
--------------------
setlocal enabledelayedexpansion
set /P MY_TEXT=ENTER TEXT:
SET SWAP=[
set NEW_TEXT=%MY_TEXT:{=!SWAP!%
SET SWAP=]
set NEW_TEXT=%NEW_TEXT:}=!SWAP!%
ECHO %NEW_TEXT%
--------------------
If you run it and enter
some text {hello} more text
you should see it echo back
some text [hello] more text
Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=112510
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter