To compress only a folder: compact /c "full path of folder" /I /Q.To compress a file: compact /c "full path of file" /I /Q ( see in screenshots below ).
![how to i compress files on computer how to i compress files on computer](https://contents.simplehow.tips/img/F3F50B8E256D.png)
Step 2: Execute the following commands to compress or decompress, and press Enter key.Ĭompress a file or only a folder Command: Step 1: Press Win + X keys to open a Command Prompt. And you need to know the full path of that file and folder see 2 ways to get the full path of files and folders. You can select to compress or decompress files and folders via command. Step 4: Click Apply button, then select to Apply changes to this folder only or Apply changes to this folder, subfolders, and files, and click on OK.Ĭompress/Uncompress Files and Folders with Command Prompt To decompress this folder uncheck Compress contents to save disk space box. Tips: Decompressing compressed files and folders with Windows File Compression Step 3: To check on Compress contents to save disk space box, and click on OK. Step 2: In the General tab, click on the Advanced button. Step 1: In Windows/File Explorer, right-click the folder and click Properties. Windows File Compression is a part of the NTFS file system, it'll automatically compress files to take up less space on the disk when enabling this feature, you can compress an individual file and an entire folder.
How to i compress files on computer how to#
This article will show you how to compress or unzip files and folders on a Windows PC. When your hard drive is out of space, but you don't want to delete certain files and folders, as it may be important, your best bet is to compress the file to free up space. This post will show you how to compress or decompress files and folders on a Windows PC. When your hard drive is out of space, but you don't want to delete some files and folders, as it's may be important, your best choice is to compress files to free up space.
![how to i compress files on computer how to i compress files on computer](https://www.isumsoft.com/images/computer/2-ways-compress-uncompress-files-and-folders/select-properties.png)
2 Ways to Compress/Decompress Files and Folders on a Windows PC