Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I run the 7zip commandline:

> echo foo | 7za a arc.7z -sifoo.txt

Everything works as expected, but if I try to do:

echo foo | 7za a -sifoo.txt

I get the following:

E:\7zip>echo foo | 7za a -sifoo.txt

7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
Creating archive

Compressing  foo.txt    0%

System error:
No such interface supported

Any ideas why?

share|improve this question
Don't know if the applies here or not but (Note: The current version of 7-Zip support reading of archives from stdin only for xz, lzma, tar, gzip and bzip2 archives.) – nhutto Jan 12 '12 at 16:48
supposed to say -tzip though I still get the error echo foo | 7z a -tzip -sifoo – barlop Jan 13 '12 at 2:59
and probably supposed to put switches between command and archive name, though still get the error. but no doubt you should use -tzip for zip. So this works for example, no echoing though >7z a -tzip a.a But doing >echo text | 7z a -tzip -sia.a gives the error. so your question stands. And you mean 7z a, not 7za. – barlop Jan 13 '12 at 3:12

You must log in to answer this question.

Browse other questions tagged .