Home > Uncategorized > Quick Primer: NTFS decompress files in a controllable manner

Quick Primer: NTFS decompress files in a controllable manner

Explorer GUI progress bars not cutting it for you? Can’t hit the cancel button, because the thread design is awful and makes the GUI unresponsive? Can’t kill that explorer.exe instance, even when you’ve ended your terminal server session, because the explorer.exe instance is slowly decompressing files for you even though you want it stop stop stop?

Save yourself from (╯°□°)╯︵ ┻━┻ with compact.exe, a Microsoft program that allows command line interface to the NTFS compression attribute of files/folders.

To use compact.exe to un-compress all files below the current directory, ignoring errors, retrying failures, and displaying hidden & system files, use the following command line:

compact /u /s /i /f /a

The output of this command is a list of files that have been uncompressed, as well as the folders where they exist. It also can be killed as you wish, instead of when the kernel feels like it. Also, it will obviously not try to uncompress an uncompressed file again.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

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

%d bloggers like this: