compress a file or folder on an NTFS drive Open My Computer. Double-click a drive or folder. Right-click the file or folder you want to compress, and then click Properties. On the General tab, click Advanced. Select the Compress contents to save disk space check box, and then click OK. In the Properties dialog box, click OK. In Confirm Attribute Changes, select the option you want.