Home >  Support >  Online Manual >  How to use AEP PRO >  Command Line Interface >  Switches >  "-COMPRESS" or "-C" - enable compression of data before encryption

"-COMPRESS" or "-C" - enable compression of data before encryption

This command line switch disables compression of data during encryption. It can be used with the commands: ENCRYPT, SFX, ENCRYPTRSA


This key should be used when you would like to encrypt already encrypted files like .zip, .rar, jpg, gif. I.e. file(s) that is/are already compressed. In this case the compression should not be used, because compression of the compressed file will lead to the bigger size of the file.






a) encrypt mystuff.zip in current folder without compression

AEP e="fkEkfle" mystuff.zip

b) encrypt mystuff.txt in current folder using compression

AEP e="fkEkfle" -c mystuff.txt




1) By default files are compressed

2) By default AEP recognizes well known compression formats and disables compression for such file types automatically: ZIP, RAR, PAK, LZW, ARJ, CAB, Z, ARC, JPG, GIF, PNG


Back to the Table of Contents

Looking for best File Encryption Software?

Are you looking for strong file encryption software, with tons of features, easy to use, constantly improved?

Advanced Encryption Package 2017- is the software you are looking for. Just try it!

Read More

Read more about all program features.


Look How to use file encryption software (in screenshots).

Free Download

Download evaluation version and try it free for 30 days!

Christmas and New Year Savings!

Christmas and New Year Savings!

Get 25% discount on AEP PRO until January 10, 2013.

Complete protection offer

Self Defence Package

3 product bundle (CD Encryption + USB Encryption + File Encryption + Drive Encryption) at a special price


Subscribe to our Newsletter.

Get notified about new products releases, new significant updates of existing products. Be first to know about short season's discounts and special offers.


Great tool to help make things just a little easier

Advanced Encryption Package Professional is a tool that can ease some of the pain of working with encrypted messages and files.