DirectoryEnableCompression Method (String) |
[AlphaFS] Enables NTFS compression of the specified directory and the files in it.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void EnableCompression(
string path
)
Public Shared Sub EnableCompression (
path As String
)
public:
static void EnableCompression(
String^ path
)
static member EnableCompression :
path : string -> unit
Parameters
- path
- Type: SystemString
A path to a directory to compress.
Remarks This method enables the directory-compression attribute. It will not compress the current contents of the directory. However, newly created files and directories will be compressed.
See Also