Compact: Display/Alter the Compression of Files or Directories

Click to open or copy the files for the Compact sample.

This module implements the Double Stuff utility for compressed NTFS volumes.

Building SDK Samples

This sample uses the following keywords:

_get_osfhandle; arrangecommandline; chartooem; closehandle; commandlinetoargvw; compressfile; createfile; deviceiocontrol; displayerr; displayfile; displaymsg; docompressaction; dolistaction; douncompressaction; fileisconsole; findclose; findfirstfile; findnextfile; formatfilesize; formatmessage; getcommandline; getcompressedfilesize; getconsolemode; getconsoleoutputcp; getcurrentdirectory; getfileattributes; getfileinformationbyhandle; getfiletype; getfullpathname; getlasterror; getstandardstream; getstdhandle; initializeiostreams; isntldr; isuncroot; lstrcat; lstrchr; lstrcmp; lstrcpy; lstricmp; lstrlen; lstrnicmp; makelangid; makelcid; openfileforcompress; setcurrentdirectory; setfileattributes; setlasterror; setthreadlocale; swprintf; text; uncompressfile; va_end; va_start; wcschr; writeconsole; writefile