I'm trying to remove quotes in some text using parameter expansion in Batch. Can anyone tell me why this:
@echo off
setlocal
set args=%*
echo %args:"=%
prints "=
instead of nothing? As far as I can see %args:"=%
should replace all quotes with nothing, so I don't get why this is happening.
Any help would be appreciated, thanks!
edit: To clarify, I'm not passing any parameters to the batch script.