Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is Windows XP's command line built in compression tool? I would like to call it from my batch file.

share|improve this question

migrated from Feb 7 '11 at 6:20

This question came from our site for professional and enthusiast programmers.

On serverfault:… – McAden Feb 7 '11 at 6:50
up vote 1 down vote accepted

If CAB-file is approach see MAKECAB command.

share|improve this answer
Care to explain a bit more @Digionica? I don't think I really understand your answer – Ivo Flipse Feb 7 '11 at 10:30
You can create cab-archive using this standart command. It's not ZIP but compressed too. – Digionica Feb 7 '11 at 11:10

If you want NTFS filesystem-level compression, the command is compact. (For filesystem-level encryption, it's cipher.)

There is no command for creating ZIP archives, but it's possible to create CABs as Digionica noted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.