DirectoryDisableCompression Method (String, PathFormat) |
[AlphaFS] Disables 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 DisableCompression(
string path,
PathFormat pathFormat
)
Public Shared Sub DisableCompression (
path As String,
pathFormat As PathFormat
)
public:
static void DisableCompression(
String^ path,
PathFormat pathFormat
)
static member DisableCompression :
path : string *
pathFormat : PathFormat -> unit
Parameters
- path
- Type: SystemString
A path to a directory to decompress. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Remarks This method disables the directory-compression attribute. It will not decompress the current contents of the directory. However, newly created files and directories will be uncompressed.
See Also