File_Compress

Description

Compresses folder. The function uses NTFS compression method. It is only supported on Windows 2000 and Windows XP


Syntax

File_Compress(sDirectory) As Boolean


Parameters

sDirectory (String)

Folder to compress


Example

VBScript
If bStatus Then bStatus = File_Compress("C:\TEMP")

Scripting Guidelines


Related functions

File functions