I have this batch file:
set LOCAL_ROOT="%~dp0"
setx BOOST_ROOT "%LOCAL_ROOT%\boost"
when I run this batch file, I am getting this value set to BOOST_ROOT
BOOST_ROOT=D:\Local\ boost
as can be seen, there is a space in path which should not exist. How can I remove it?