Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Need a command-line zip utility for Vista

Posted on 2009-04-21
5
Medium Priority
?
676 Views
Last Modified: 2013-12-01
I am using mysqldump to dump the contents of a database (on a remote server) into a text file.  The output file can get rather large, often upwards of 100Mb.  I can use a Windows compressed (zip) folder to shrink the output file down to a bit over 1Mb, but Windows doesn't provide a mechanism to do this compression from the command-line.

Does anybody know of a decent command-line (only) zip program that will run at the Vista command prompt which either:
1) doesn't have to be installed on the system to be used (preferable) or
2) doesn't overwrite Windows compressed (zip) folder default functionality?

Additionally, it should not open a GUI during its processing and it should wait for the command (at the command-line) to complete before moving on to the next command in the script.

Suggestions?


(WinZip overwrites Windows default functionality. FreeByte Zip opens a GUI when run from the command line, and the command-line script doesn't wait for the GUI to complete before continuing.)
0
Comment
Question by:ACSIPaul
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:JDominguezNY
ID: 24194864
You can try WinRar for MS-DOS, It uses the windowsfunctionality, but does no overwrite it.
0
 
LVL 4

Author Comment

by:ACSIPaul
ID: 24195097
Thanks, JDominguezNY

That looked really promising.  I just tried it.  It crashes on a 50Mb file with the error Virtual memory exceeded in `new'.  Most of my files will be twice that size.
0
 
LVL 4

Accepted Solution

by:
JDominguezNY earned 1000 total points
ID: 24195155
7-Zip is another utility that has the command line interface but I was unable to verify if it overrides the windows functionality.
0
 
LVL 4

Expert Comment

by:JDominguezNY
ID: 24216455
Did 7-Zip accomplish what you needed?
0
 
LVL 4

Author Closing Comment

by:ACSIPaul
ID: 31572763
Thank JDominguezNY, 7-zip worked great.  Its exactly what I needed.!!
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses
Course of the Month21 days, 1 hour left to enroll

810 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