title: Console command to extract only a single file from archive? (7z)
body: <p>I have a script to extract all the archives in a folder to folders with names of the archives, I want to modify that so it will extract only a single file from each archive (doesn't matter which one), it will behave as if there's a counter that will count 1 file and move to the next archive.</p>
  
  <p>For example say we have the following files in the folder, each archive contains what's in the curly braces:</p>
  
  <pre><code>a.7z {folder{1.txt, 2.txt, 3.txt}}
  b.7z {folder2{4.txt, 5.txt, 6.txt}}
  c.7z {7.txt}
  </code></pre>
  
  <p>So running the script will result in having the following extracted (those are folders):</p>
  
  <pre><code>a{folder{1.txt}}
  b{folder2{4.txt}}
  c{7.txt}
  </code></pre>
  
  <p>Is this possible?</p>
  
  <p>This is the script I currently have:</p>
  
  <pre><code>PATH %PATH%;"C:\Program Files\7-Zip";
  7z x *.* -o*
  </code></pre>