Code: Select all
set tmpstring="String with ^^ character"
Question: how to remove quotes but ^^ should remain there. If I use %~ then one ^ gets removed.
Thanks,
Saso
Code: Select all
set tmpstring="String with ^^ character"
Code: Select all
set "oldname=<oldname.txt"
Code: Select all
FOR /F %%i IN (oldname.txt) DO set oldname=%%i
Code: Select all
if "%input%"=="" echo Empty string entered.