title: Delayed expansion not working for a for loop
body: <p>I have this batch script and I am calling another batch script "Strip_Batch.bat" and passing <code>%Stripped_Name%</code> variable as parameter. But this parameter doesnt work. Any idea how I can pass this variable?</p>
  
  <pre><code>@echo off
  setlocal enableextensions enableDelayedExpansion
  set CONFIGURATIONS=HAVING_FUN_WITH_COLLEGUES
  for %%i in (%CONFIGURATIONS%) do (
  set Original_Name=%%i
  echo !Original_Name!
  set Stripped_Name=!Original_Name:~0,-14!
  echo !Stripped_Name!
  call Strip_Batch.bat %%i %Stripped_Name%
  if errorlevel 1 goto error_exit
  ) 
  
  :the_end
  endlocal
  exit /b 0
  
  :error_exit
  endlocal
  exit /b 1
  </code></pre>