it seems '=' sign on argument splits argument two. ie. if have batch file a.bat:
echo %1 echo %2 and call using:
a 1=2 it give result:
1 2 whereas want give:
1=2 first argument.
if put quotes around "1=2" works keeps quotes in %1.
any idea how 1=2 %1 ?
to remove surrounding quotes argument, include ~.
echo %~1
Comments
Post a Comment