code: def extract_cab (archive, compression, cmd, verbosity, interactive, outdir):
      
      cmdlist = [cmd, '-d', outdir]
      if verbosity > 0:
          cmdlist.append('-v')
      cmdlist.append(archive)
      return cmdlist
docs: Extract a CAB archive.