Because we were “in” C:\t, it tried to uncompress it. Compact, by default, operates on the current directory.In that Windows Command Prompt, change directory (CD) to the folder that contains the compressed folder (C:\t in my example) and run “compact /s”.Ī couple of interesting points to note here: Run “compact /?” in a Windows Command Prompt to see a list of its options. The command-line utility Compact is used to control Windows File Compression. If you’re not afraid of the command line, however, there is an easier way. If a folder itself is not compressed, but contains many compressed files, you have to multi-select the individual files to perform the operation above. The only problem with this approach is that you need to operate on a compressed folder to uncompress it and its contents. Once complete, the folder and everything within it will no longer be compressed. Do that and click OK.ĭepending on the size of the folder and its contents, this operation can take some time. However, you can also uncompress everything - the folder and everything inside of it - by selecting “Apply changes to this folder, subfolders and files”. Any new files placed in the folder will not be compressed automatically. You can uncompress just the folder and not its contents. Click OK here as well and you’ll be presented with one more option. This will return you to the basic properties for the folder. Advanced Attributes on a folder.Īs you can see, “Compress contents to save disk space” is checked. Right-click on the compressed folder, click on Properties, and then click on Advanced. If there’s not enough room, decompressing will fail. Decompressing using Windows File Explorerīefore you decompress files, make sure you have enough free space available - the files will take up more room when they are not compressed. Once again, all of the filenames are in blue, indicating compression. If we look inside that folder, we see that all the files are compressed as well. You can tell it’s compressed by Windows because the folder name is displayed in blue instead of black. Here’s how a folder that has been compressed is displayed in Windows File Explorer. You may find yourself with compressed files if you’ve updated systems from older versions of Windows, or if you manually enabled compression at some point in the past. However, file compression is still supported. That’s no longer present in current versions of Windows. Once upon a time, Windows would offer to compress “old” files as part of the disk cleanup tool. Compressed filesįile compression uses various algorithms to reduce the physical space taken up by a file without loss of any information. There’s also a command-line approach to compressing and decompressing files.Decompressing files is done in Windows File Explorer.Windows no longer offers to compress old files, though compression remains available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |