Click or drag to resize
DirectoryCompress Method (KernelTransaction, String, PathFormat)
[AlphaFS] Compresses a directory using NTFS compression.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void Compress(
	KernelTransaction transaction,
	string path,
	PathFormat pathFormat
)

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
path
Type: SystemString
A path that describes a directory to compress.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Remarks
This will only compress the root items, non recursive.
See Also