DirectoryCompress Method (String, DirectoryEnumerationOptions) |
[AlphaFS] Compresses a directory using NTFS compression.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void Compress(
string path,
DirectoryEnumerationOptions options
)
Public Shared Sub Compress (
path As String,
options As DirectoryEnumerationOptions
)
public:
static void Compress(
String^ path,
DirectoryEnumerationOptions options
)
static member Compress :
path : string *
options : DirectoryEnumerationOptions -> unit
Parameters
- path
- Type: SystemString
A path that describes a directory to compress. - options
- Type: Alphaleonis.Win32.FilesystemDirectoryEnumerationOptions
DirectoryEnumerationOptions flags that specify how the directory is to be enumerated.
See Also