title: Find all sql files using bat
body: <p>How to find all the sql files inside a folder and get the file names using a batch file?
  I have tried like: </p>
  
  <blockquote>
    <p>for /f %%a IN (‘dir "C:\SQLFILES\
    *.sql"’) do echo %%a</p>
  </blockquote>
  
  <p>But I am not getting the proper output.</p>