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

On a Windows XP machine, I have a zip file located on "c:\temp\mydata\". Using 7-Zip application, I would like to write a batch script and extract the file silently to the following location "c:\printers\okidata". How should I write the syntax?

share|improve this question

You can use 7-Zip from the command line, as you suspect by using the following command:

7z x "c:\temp\mydata\" -o"C:\printers\okidata"

Where: x = extract (keeping paths), and -o = output directory.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .