title: Returning string from external function batch
body: <p>I have two batch files. One is the main (caller) file and one is a function.
  The function takes one parameter, does some stuff and then i wanna return the string to the caller (main.bat). %ERRORLEVEL% is not an option, as it can only return integers.</p>
  
  <p>main.bat:<br>
  <code>call function.bat hello</code><br>
  function.bat:<br>
  <code>REM some code.......</code><br>
  [HERE THE CODE TO RETURN A STRING TO CALLER FILE]<br>
  Seems like a basic operation, so there must be a way. Also, i prefer not making files with the output and reading it in the main.bat, because i want to make it work as a easy-to-use function.</p>