title: Batch file stops if path not found
body: <p>I have a batch file that acceses multiple servers, finds certain folders and copies their content into my computer - into a newly created folder with the same name. This works BUT:
  <br><br>
  <strong>THE PROBLEM</strong> is that if the path is not found the batch stops and closes.
  <br>
  I tried to fix it with %ERRORLEVEL% but has no effect.
  Please help.
  <br>
  My code: </p>
  
  <pre><code>IF NOT %ERRORLEVEL% == 0 GOTO END
  pushd \\thunder\Contracte\contracte\CONTRACTE NEVOI PERSONALE\Contracte nevoi personale 235001N - 237500N\
  for /f "delims=" %%a in ('dir /b /s ^| find "235110"') do (
  cd ..
  xcopy "%%a" "%destination%\CtrExtrase\235110NA\" /E /D /Y )
  popd
  @ECHO ---
  :END
  popd
  
  IF NOT %ERRORLEVEL% == 0 GOTO END
  pushd \\thunder\Contracte\contracte\CONTRACTE NEVOI PERSONALE\Contracte nevoi personale 235001N - 237500N\
  for /f "delims=" %%a in ('dir /b /s ^| find "235449"') do (
  cd ..
  xcopy "%%a" "%destination%\CtrExtrase\235449NA\" /E /D /Y )
  popd
  @ECHO ---
  :END
  popd
  </code></pre>