Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Compressing files from the command line

Compressing files from the command line

Forum Windows XP : Windows XP General Discussion - Compressing files from the command line

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

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

Sponsored Links
Register or log in to remove.
- 0 +

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

Do some reading here and good luck! :o)

http://www.google.com/search?hl=en [...] gle+Search

--

All the Best,
Kelly (MS-MVP)

Troubleshooting Windows XP
http://www.kellys-korner-xp.com



<the_kiddie98@yahoo.com> wrote in message
news:1121207253.027028.178620@f14g2000cwb.googlegroups.com...
> 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
>

Reply to kelly

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

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.

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.general (More info?)

 

the_kiddie98@yahoo.com wrote:

> 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/



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/s [...] fault.mspx

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Compressing files from the command line
Go to:

There are 1240 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them