1

Possible Duplicate:
Compressing files in windows

I want to compress a file using the command line. This command-line

C: compact /c aa.xml

returns a successful message but I can't see any ZIP file in the C folder. Where is the problem?

1 Answers1

0

The COMPACT command isn't for compressing file like zip compression.

If you want create zip file via the command line, try the 7-Zip application. Here are examples for using it from the command-line: http://dotnetperls.com/7-zip-examples

Peter Mortensen
  • 12,090
  • 23
  • 70
  • 90
MicTech
  • 10,328
  • 5
  • 45
  • 55