title: How to change an image tag url in multiple html files using batch script?
body: <p>There are more than 10 html files with image tags. Every time we deploy our build onto test site we need to change the img source. for eg <code>&lt;img src=/live/Content/xyz.png /&gt;</code><br>
  to <code>&lt;img src=/test/Content/xyz.png /&gt;</code>.<br>
  After looking around and reading for sometime, i have come up with the following batch script, however i cant figure out how do i go further from here :</p>
  
  <pre><code>for /r %%i in (*.html) do echo %%i    
  for %%f in (*.html) do ( 
  FOR /F %%L IN (%%f) DO (
    SET "line=%%L"
    SETLOCAL ENABLEDELAYEDEXPANSION 
    SET "x=     &lt;--------------------WHAT DO I SET HERE?
    echo %x%
    ENDLOCAL  )) pause    
  </code></pre>
  
  <p>This is my first batch script, could anyone please guide me in the right direction?</p>