How To Compress using Command Line tool?

by [Published on 16 Feb. 2011 / Last Updated on 17 Feb. 2011]

This article explains how you can use Compress.exe, a command line tool, to compress files on Windows Computers.

You can use a tool called Compress.exe which is available with Microsoft's Windows Server 2003 Resource Kit to compress files on your computers. The uses of this tool are explained below:

To Compress a file:

Compress.exe C:\Test\Test.exe C:\CompressedFiles\Test.exe

There are more parameters available with Compress.exe. Use Compress.exe /? to get more information.


See Also

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links