title: How to set output of command in variables and then use for further serach in batch scripting
body: <p>For eg: <code>Set var=findstr "name" temp.txt [temp.txt consist multiple lines , out of which one line says "my name is ABC"]</code> later on find the last word of the line i.e. ABC</p>