Solved

how to unzip files in batch mode

Posted on 2011-09-12
3
410 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
Comment Utility
use
 compact /u 

Open in new window

0
 
LVL 51

Expert Comment

by:Bill Prew
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
If your app took Google’s lash recently, here are the 5 most likely reasons.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now