| Home | All functions | Categories |
vuIsNTFSCompressed(*CSTRING), LONG
Checks whether the specified file or folder is NTFS-compressed. Works with both individual files and directories.
| Parameter | Data Type | Description |
|---|---|---|
| pPath | CSTRING(260) | Full path to the file or folder to check. |
Note: In vuFileTools V5, CSTRINGs are not limited to the size shown above. The number is for example only.
A LONG value indicating the result:
Path CSTRING(260)
Rc LONG
Path = 'C:\Testing\CompressedFolder'
Rc = vuIsNTFSCompressed(Path)
IF Rc = 1
MESSAGE('The folder is NTFS compressed.')
ELSIF Rc = 0
MESSAGE('The folder is NOT NTFS compressed.')
ELSE
MESSAGE('Error checking compression: ' & CLIP(Path))
END
Notes
Supports both files and folders.
The path must exist or the function will return an error code.
| Home | All functions | Categories |