title: Batch file for creating rar
body: <p>I am really new to batch files so please bear with me. I want to make a batch file that can zip folders inside the main folder to one individual win-rar file. </p>
  
  <p>I have the following line which is making the main folder rar but i need only the folders inside the main folder to be archived.</p>
  
  <pre><code>SET WINRAR="F:\Program Files\WinRAR"
  
  %WINRAR%\WinRAR.exe a -ep1 "F:\Documents and Settings\sys\Desktop\test.rar" "F:\Documents and Settings\sys\Desktop\test"
  </code></pre>
  
  <p>What I need is to make the folders inside the test folder as individual rar files.</p>