Pascal Scripting: SetNTFSCompression

Inno Setup

Pascal Scripting: SetNTFSCompression

Prototype:

function SetNTFSCompression(const FileOrDir: String; Compress: Boolean): Boolean;

Description:

Changes the NTFS compression state of a file or directory. Returns True if successful.

Remarks:

If a directory is specified, the compression state of any files present in the directory will not be changed.