Jump to content
1 minute ago, Jake72 said:

is there a way I can unzip all after select all?

Don't select any. If you have no files selected, it should default to unzipping them all.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites

Open 7-zip

Browse inside 7-zip to the folder where you music is

press ctrl+A to select all files in that folder , or press + on numeric keypad / click on Select... in Edit menu and enter *.zip to select only ZIP files

Click on extract and you'll get this:

 

image.png.c2641c7b3059abb9724705e60dc34242.png

 

extract to is the folder where to extract the archives.

See that checkmark below folder ? If you leave it checked 7zip will create a folder for each zip it unpacks. For example if you have archive.zip , then you'll have D:\path\where to extract\archive\ [ contents of archive ]

So you can uncheck that to have all mp3 files extracted in same folder, without sub-folders for each archive unpacked.

 

If you have zip files in multiple folders, you can do something from command line

In Windows Explorer, go in the folder where you have your zip files and sub-folders with zip files, and right click on an empty area to the side of the file list where there's blank space while holding Shift key down.

This will make an option called "Open command window here..." or something similar.


Here, you can type a command to save a list of all zip files (or other archive extension to a file :

 

DIR /B /S *.zip >C:\temp\filelist.txt

 

/B means bare format, just one file name (with the full file path) per line, nothing fancy

/S means list the files in this folder and the sub-folders

*.zip makes it list only files with the zip extension

> tells DIR to print the files to a file, instead of screen

C:\temp\filelist.txt  is the path to the file that you want created.

Note, C:\temp\ or whatever folder you decide to use must exist before.

 

Now, you can use this file to unpack all archives using the command mode of 7zip.


Go in 7-zip's folder and just like you did with the music files, open a command window in this folder.

 

Now you want to edit that file, so that each line will be like this:

 

7z.exe e -o"c:\temp\" -spf "drive:\path\to\filename.zip"

e means extract

-o" " means extract to folder, and insides you have folder with \ at end

-spf tells 7zip to preserve folders as they are in each zip (if there are any folders)

and last is the file name between two " characters (needed if there are spaces in the file)

 

You can do that by opening the text file in Notepad or Notepad++ and do two search and replace operations

 

Search for : .zip 

Replace with : .zip"

 

This will add the " to the end of the file name

 

Search for : c:\  (the drive letter and : \ characters as they only show up once in each line)

Replace with : 7z.exe e -o"C:\Temp\" -spf "C:\

 

This adds the " in front of the file name, and the 7z command.

 

This way

C:\path\to\track.zip  becomes

7z.exe e -o"c:\Temp\" -spf "c:\path\to\track.zip"

 

Now you can save the file with the extension .BAT  (in Notepad , File > Save as ...  > save as type: any file  and type at the name Your new file name .BAT

 

Now you can copy this BAT file into the 7zip folder and run it, and 7zip will unpack all files.

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×