You are here: Home » Utilities » File Compression » 7-Zip » Online Manual
113 (65%)   61 (35%)
Online Manual of 7-Zip 4.65
Tips: Convert Microsoft Excel to HTML | PDF to HTML | Convert paper documents to PDF / HTML

-o (set Output directory) switch

Specifies a destination directory where files are to be extracted.

This switch can be used only with extraction commands.

Syntax

syntax">
-o{dir_path}
{dir_path}
This is the destination directory path. It's not required to end with a backslash.

Example

7z x archive.zip -oc:Doc

extracts all files from the archive.zip archive to the c:Doc directory.

7z x *.zip -o*

extracts all *.zip archives to subfolders with names of these archives.

Commands that can be used with this switch

e (Extract), x (Extract with full paths)

Rate This Manual

Tips & Guides Related to 7-Zip