How to remove Quotes from a variable with "ampersand" (&) ?
Posted: 28 Sep 2020 03:05
How to remove Quotes from a variable with "ampersand" (&) ?
ex
setlocal disabledelayedexpansion
set dir="D:\Test ! & Test\"
set dir=%dir:"=%
after
echo %dir%
D:\Test ! Test\
Sign & is missing !!!!
Please help
ex
setlocal disabledelayedexpansion
set dir="D:\Test ! & Test\"
set dir=%dir:"=%
after
echo %dir%
D:\Test ! Test\
Sign & is missing !!!!
Please help