• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 467
  • Last Modified:

how to unzip files in batch mode

I want to unzip the content of a zip file in batch mode using visual studio. I have many zip files which content I need to save to c:\

Thank you for any help experts...

Jorge Manzo
2 Solutions
 compact /u 

Open in new window

Bill PrewCommented:
Not sure what you really mean when you say "using visual studio", given that you placed this in the MS-DOS zone. If you want to do this from a command line or in a batch file, then you will need a zip utility program like 7-ZIP to do this.

Will all the files from the ZIP files go into a single folder?

Where are the ZIP files located, all in a single folder?

Does the ZIP contain subfolders?

Amitabh SinghAWS Certified Solution Architect | L3 IT Specialist for CloudCommented:
Hello you can use 7zip with CLI option

Example :
1st :Download 7-Zip Command Line Version : http://www.7-zip.org/download.html

2nd: Extract 7zip and copy 7za.exe and past in your windows %systemroot%\system32 folder

3rd : if you want to use bat file you can create a bat file like this
cd c:
7za.exe e c:\your_zip_folder_location\*.zip

Open in new window

hear is a link how to run bat or cmd file from visual studio
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now