title: I want to return the status of the batch file from one batch file to the other batch file ..if it gets executed it should return success else failure
body: <p>This is the first batch file:</p>
  
  <pre><code>@echo off
  echo chaitu HI FROM ONE
  </code></pre>
  
  <p>This is the second batch file:</p>
  
  <pre><code>@echo off
  echo from harsha
  call chaitu.bat
  ECHO.%ERRORLEVEL%
  ECHO AFTER VALUE
  
  IF %ERRORLEVEL% NEQ 0 GOTO :failure
  else
  GOTO SUCCESS
  
  
  :success
  echo success 
  GOTO END
  
  :failure
  echo failure
  GOTO END
  
  :END
  ECHO THIS IS THE END
  </code></pre>
  
  <p>My problem here is if I give the correct batch file name then it should return success and should show  success or if I give the incorrect batch file it should return failure.</p>