How to decompress all files in the specified directory?

In case you run into situation that you need to decompress all files in the specified directory, use the following procedure. This most often happens if a system administrator runs the disk cleanup wizard on the server with an option to compress old (files that have not been used recently) files enabled. File compression must be used carefully because it can greatly affect disk performance as explained in the following KB article: Best practices for NTFS compression in Windowshttp://support.microsoft.com/kb/251186.

  1. Open Command Prompt.
  2. Navigate to folder containing compressed files.
  3. Run the following command: COMPACT /U /S /A /I

To see all command line parameters of the COMPACT command line tool, simply run COMPACT /?.

Advertisements
How to decompress all files in the specified directory?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s