Versions Compared

Key

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

...

Synchronizes files and directories between two directories

 


Syntax

File_Sync(sSourceDir, sTargetDir, iBandwithUtilization, aExcludedDirectories, aExcludedFiles) As Boolean 


Parameters

sSourceDir (String)

...

Files that should be excluded

...


Example

Code Block
languagevb
themeEclipselanguagevb
titleVBScript
Dim aExcludeDir, aExcludeFile
aExcludeDir = Array("Printers", "Wallpaper")
aExcludeFile = Array("tip.htm", "tips.gif", "bullet.gif")

If bStatus Then bStatus = File_Sync("C:\CapaInstaller", "C:\Web", 100, aExcludeDir, aExcludeFile)

Scripting Guidelines 


Related functions

File_DelTree