当我运行 7zip 命令行时:
> echo foo | 7za a arc.7z -sifoo.txt
一切都按预期进行,但如果我尝试这样做:
echo foo | 7za a arc.zip -sifoo.txt
我得到以下信息:
E:\7zip>echo foo | 7za a arc.zip -sifoo.txt
7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Creating archive arc.zip
Compressing foo.txt 0%
System error:
No such interface supported
知道原因吗?