Compressing files from the command line

T

the_kiddie98

Hi,
Is it possible to use Windows XP (Compressed (Zipped) Folders) from
the command line, passing it the name of a file as a parameter.

Cheers,

JD
 
T

the_kiddie98

Perhaps you could be a little more help. I am trying to use the Compact
command on a dump of a database, this is the output. It isn't
compressing, I want a .zip file result.
C:\BackupToMachine>compact dm.sql

Listing C:\BackupToMachine\
New files added to this directory will not be compressed.

888552259 : 888552259 = 1.0 to 1 dm.sql

Of 1 files within 1 directories
0 are compressed and 1 are not compressed.
888,552,259 total bytes of data are stored in 888,552,259 bytes.
The compression ratio is 1.0 to 1.
 
T

Torgeir Bakken \(MVP\)

Perhaps you could be a little more help. I am trying to use the Compact
command on a dump of a database, this is the output. It isn't
compressing, I want a .zip file result.
C:\BackupToMachine>compact dm.sql

Listing C:\BackupToMachine\
New files added to this directory will not be compressed.

888552259 : 888552259 = 1.0 to 1 dm.sql

Of 1 files within 1 directories
0 are compressed and 1 are not compressed.
888,552,259 total bytes of data are stored in 888,552,259 bytes.
The compression ratio is 1.0 to 1.
Hi,

The zip functionality that comes with WinXP/Win2k3 does not have
a command line interface.

Some free zip/unzip programs that can help you:

ZipGenius has a command line interface (freeware)
http://www.zipgenius.it/

PowerArchiver has a command line version as well:
http://www.powerarchiver.com

Last freeware version of PowerArchiver:
http://www.321download.com/LastFreeware/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top