Solved

how to unzip files in batch mode

Posted on 2011-09-12
3
416 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:jmanzo10
3 Comments
 
LVL 7

Accepted Solution

by:
CSorg earned 250 total points
ID: 36526428
use
 compact /u 

Open in new window

0
 
LVL 54

Expert Comment

by:Bill Prew
ID: 36526494
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?

~bp
0
 
LVL 8

Assisted Solution

by:Amitabh Singh
Amitabh Singh earned 250 total points
ID: 36529773
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:
cd\
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
http://www.rickglos.com/post/How-to-run-cmd-files-from-Visual-Studio.aspx
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question