title: Zipping files with 7z.exe
body: <p>I have a folder that contains a batch file named zip.bat with the following code inside:</p>
  
  <blockquote>
    <p>for /d %%X in (*) do "C:\Program Files (x86)\7-Zip\7z.exe" a "%%X.zip" "%%X\"</p>
  </blockquote>
  
  <p>The issue that i'm having with this bat is that it zips any folder inside the folder that contains the zip.bat but what I really want it to do is to zip text files not folders.</p>
  
  <p>Can anyone guide me on what i'm doing wrong?</p>
  
  <p>Thank you.</p>