| Home | All functions | Categories |
vuIsFolderCompressed(STRING), LONG
Checks whether a specified folder is NTFS-compressed.
This allows applications to detect whether compression is applied at the folder level.
| Parameter | Data Type | Description |
|---|---|---|
| zPath | STRING | Full path to the folder to check (for example, C:\Testing\MyFolder). |
zPath CSTRING(256)
Result LONG
Msg CSTRING(256)
CODE
zPath = 'C:\Testing\CompressedFolder'
Result = vuIsFolderCompressed(zPath)
IF Result
Msg = 'The folder is NTFS compressed.'
ELSE
Msg = 'The folder is NOT NTFS compressed.'
END
MESSAGE(Msg, zPath)
Notes
Works only on NTFS volumes.
Use vuCreateCompressedFolder or vuSetFolderCompression to enable or change compression.
If the folder path does not exist, the function will return an error.
| Home | All functions | Categories |