Batch - How to create a command with set/p and if : <p>i need help for extracting variable from set/p
i explain : </p>

<pre><code>set/p command=
:: THE %COMMAND% IS : setname mirtex
if "%command%"=="setname %name%" goto test
:test
echo your name is %name%
</code></pre>

<p>so i would like to extract my name "mirtex" like the echo mirtex
Thanks</p>
