更新时间:2022-11-03 11:01:03
假设你可以使用外部应用程序,尝试下载 7Zip 然后让您的脚本使用 -l
开关执行它.这应该会为您提供一些您应该能够以某种方式解析的输出.
Assuming that you can use an external application, try downloading 7Zip and then have your script execute it with the -l
switch. This should give you some output that you should be able to parse in some way.
来自帮助文件的示例:7z l archive.zip