CODE: [Copy to clipboard]@echo off set "str=I have a " ha ha" echo %str% set str=%str:"=-% echo %str%