title: Compress archives with a flat structure using Winrar
body: <p>I have a bunch of archives inside differents folders, I want to compact all the files to a .zip:</p>
  
  <h2>What I'm trying:</h2>
  
  <pre><code>(path)\WinRAR.exe a -afzip "(path)File.zip" "(path)ToCompress"
  </code></pre>
  
  <h2>What is wrong:</h2>
  
  <p>The Zip contain all the folders <code>(path)</code> not just the file <code>ToCompress</code></p>
  
  <hr>
  
  <h2>Edit:</h2>
  
  <p>Something similar as the <code>DotNetZip</code> parameter:</p>
  
  <pre><code>  -flat             - store the files in a flat dir structure; do not use the
                        directory paths from the source files.
  </code></pre>