Click or drag to resize

DirectoryCompressTransacted Method (KernelTransaction, String, DirectoryEnumerationFilters, PathFormat)

[AlphaFS] Compresses a directory using NTFS compression.

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

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
path
Type: SystemString
A path that describes a directory to compress.
filters
Type: Alphaleonis.Win32.FilesystemDirectoryEnumerationFilters
The specification of custom filters to be used in the process.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Exceptions
Remarks
This will only compress the root items (non recursive).
See Also