Page 1 of 1

Problem with replacing ) in SET command

Posted: 17 Jun 2009 12:24
by casperinmd
I am stumped as to why I can't replace a ) in a variable with:
SET VAR=SOMETHING()
SET VAR=!VAR:)=,!

The open parentheses works: SET VAR=!VAR:(=,!

Thanks.

Posted: 17 Jun 2009 15:43
by RElliott63
Try using the ^ character in front of it.

Posted: 17 Jun 2009 18:38
by casperinmd
Nice..that worked. Thanks.