Hi, I need to replace the blank characters into a string with the '%20' substring. For example: "foo bar" --> "foo%20bar" Code: E:\>set var=foo bar E:\>echo %var foo bar E:\>echo %@replace[ ,%20,%var] foobar What? Oh yes, '%' is a special character, I need to escape it: Code: E:\>echo %@replace[ ,^%20,%var] foo ??? I don't understand anymore. Why has the second word vanished? What did TCC understand? Yet ^% works well outside the @replace function: Code: E:\>echo ^%20 %20 So how should I do to obtain "foo%20bar"?