Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Feb 7 '11 at 6:20

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

    
On serverfault: serverfault.com/questions/39071/… –  McAden Feb 7 '11 at 6:50

2 Answers 2

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

 
discard

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.