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, False otherwise.

Remarks

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