title: Windows Batch Script: search string within folder and subfolders
body: <p>I'm trying to search string "@B-ADD|496|" within my main folder and its subfolders. however, the below script unable to search my subfolders.
  please kindly help  </p>
  
  <pre><code>FOR /F "tokens=*" %%A IN ('findstr /S "@B-ADD|496|" C:\Users\william\Desktop\New Folder\*.txt') DO (
    move "C:\Users\wee-liem.wong\Desktop\New Folder\*.txt"   "C:\Users\william\Desktop\New Folder (2)"
  )
  
  pause
  </code></pre>