def create_cab(archive, compression, cmd, verbosity, interactive, filenames):
    """Create a CAB archive."""
    cmdlist = [cmd, '-r']
    cmdlist.extend(filenames)
    cmdlist.append(archive)
    return cmdlist
