How to Find and List Compressed Files and Folders in Windows 10


Windows 10 supports compression of individual files and folders on NTFS volumes using NTFS compression.

While NTFS file system compression can save disk space, compressing data can adversely affect performance. NTFS compression has the following performance characteristics. When you copy or move a compressed NTFS file to a different folder, NTFS decompresses the file, copies or moves the file to the new location, and then recompresses the file. This behavior occurs even when the file is copied or moved between folders on the same computer. Compressed files are also expanded before copying over the network, so NTFS compression does not save network bandwidth.

Files or folders saved into an existing compressed folder will automatically be compressed.

NTFS compressed files and folders will have double blue arrows overlay on their icon at the top right corner to indicate that they are compressed. However, you can also scan to find and list compressed files and folders.

This tutorial will show you how to find and list files and folders compressed with NTFS Compression in Windows 10.


 CONTENTS:

  • Option One: To Find and List Compressed Files and Folders and Output List in Command Prompt
  • Option Two: To Find and List Compressed Files and Folders and Output List to a Text File


EXAMPLE: Files and Folders compressed using NTFS Compression
Name:  Compressed_files_folders.png
Views: 87
Size:  58.6 KB






Find and List Compressed Files and Folders in Windows 10 OPTION ONE Find and List Compressed Files and Folders in Windows 10
To Find and List Compressed Files and Folders and Output List in Command Prompt

1. Open a command prompt.

2. Type the command below into the command prompt, and press Enter. (see screenshot below)

compact /s:"Full path of directory"

Substitute Full path of directory in the command above with the full path of the folder and drive you want to scan for compressed files and folders in it and its subfolders.

For example: compact /s:"C:\Users\Brink\Pictures"

3. Windows will now search for all compressed files and folders in the specified directory and its subfolders, and will output a list in the command prompt.

Name:  Compact_command.jpg
Views: 90
Size:  76.9 KB






Find and List Compressed Files and Folders in Windows 10 OPTION TWO Find and List Compressed Files and Folders in Windows 10
To Find and List Compressed Files and Folders and Output List to a Text File

This option is useful when you have a long list of compressed files and folders to review in a text file.

1. Open a command prompt.

2. Type the command below into the command prompt, and press Enter. (see screenshots below)

compact /s:"Full path of directory" > "%UserProfile%\Desktop\Compressed_Files_and_Folders.txt"

Substitute Full path of directory in the command above with the full path of the folder and drive you want to scan for compressed files and folders in it and its subfolders.

For example: compact /s:"C:\Users\Brink\Pictures > "%UserProfile%\Desktop\Compressed_Files_and_Folders.txt""

Name:  Output_compact_command_to_text_file.jpg
Views: 89
Size:  20.2 KB

3. Windows will now search for all compressed files and folders in the specified directory and its subfolders, and will output a list to the Compressed_Files_and_Folders.txt file on your desktop. (see screenshot below)

Name:  Compressed_Files_and_Folders_text_file.jpg
Views: 86
Size:  86.1 KB


That's it,
Shawn