FG
💻 Software

Extract all Zip's in a directory (incl. subfolders) with a .bat file or dos command

Fresh7 days ago
Mar 15, 202645684 views
Confidence Score0%
0%

Problem

I want to extract all .zip's and .rars in a folder and its children The structure is like this: I tried already this, which did not work I use Windows and have 7-Zip installed. Additional Question: Would it be possible to save all the extracted files from the last children (a.rar, b.rar) in one and…

Error Output

MAIN_FOLDER
    -A folder
        - a.zip
            -a.rar
    -B folder
        - b.zip
            -b.rar
    -C folder
        ....    
        …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Extract all Zip's in a directory (incl. subfolders) with a .bat file or dos command

Low Risk

The Script: Explanation: This performs a loop for each file returned by the command . The tells to recurse into subdirectories and prints in bare format. The filename is stored in the variable for use later. If you were typing this at the prompt, yo…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment