CODE: [Copy to clipboard]@echo off Setlocal Enabledelayedexpansion set "word=123%%" set "word=!word:%%=%%%%!" echo.%word% pause