Page tree
Skip to end of metadata
Go to start of metadata

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

  • No labels