title: Programmatically extract tar.gz in a single step (on Windows with 7-Zip)
body: <p><strong>Problem:</strong> I would like to be able to extract tar.gz files in a single step. This makes my question <em>almost</em>  identical to this one: <a href="https://stackoverflow.com/questions/651018/opening-a-tar-gz-file-with-a-single-command">Stack&nbsp;Overflow question for tar-gz</a>.</p>
  
  <p>My question is <em>almost</em> the same, but not the same, because I would like to do this on windows using 7-Zip command-line (or something similar) inside a bat file or Ruby/Perl/Python script.</p>
  
  <p><strong>Question:</strong> This seemingly simple task is proving to be more involved than the first appearance would make it out to be. Does anyone have a script that does this already?</p>