storing returned values from functions present in exe file using bat script
I am trying to call a function<readName> present in saur.exe using bat.
It looks something like this.
saur.exe readName

When i execute it, it returns a string Saurabh.

Now that I want to store "saurabh" in a variable called name.

So I am doing :
 
set name = saur.exe readName
echo .%name%
In this case, it doesnot execute.
It gives blank in front of echo command.  
storing returned values from functions present in exe file using bat script
===

I am trying to call a function<readName> present in saur.exe using bat.
It looks something like this.
saur.exe readName

When i execute it, it returns a string Saurabh.

Now that I want to store "saurabh" in a variable called name.

So I am doing :
 
set name = saur.exe readName
echo .%name%
In this case, it doesnot execute.
It gives blank in front of echo command.  