Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On a Windows XP machine, I have a zip file located on "c:\temp\mydata\okidata.zip". 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

1 Answer 1

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

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

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.