Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
languagevb
themeEclipselanguagevb
titleVBScript
If bStatus Then bStatus = File_Compress("C:\TEMP")

Scripting Guidelines 


Related functions

File functions