my batch file is ProcessMe.bat
the Command is this
ProcessMe -color blue -type high --size large --tag gift
the parameters order is not fixed
ProcessMe -type high --tag gift --size large -color blue
ProcessMe --tag gift -color blue --size large -type high
ProcessMe --size large -type high -color blue --tag gift
and parameters are coming in the same format single - and double --
I want to read these parameters in my .bat file
I tried these but non worked
echo %--size%
echo %-size%
echo %size%
echo --size
echo -size
echo size
echo %--size
echo %-size
echo %size
how can I get parameters values in .bat file?!