CompareDirectories – Find different files in two directories
Enum CompareDirectoryEnum cdeSourceDirOnly = -2 ‘ file is present only in the source directory cdeDestDirOnly = -1 ‘ file is present only in the dest directory cdeEqual = 0 ‘
Enum CompareDirectoryEnum cdeSourceDirOnly = -2 ‘ file is present only in the source directory cdeDestDirOnly = -1 ‘ file is present only in the dest directory cdeEqual = 0 ‘
Private Type MP3TagInfo tag As String * 3 title As String * 30 artist As String * 30 album As String * 30 year As String * 4 comment As
‘ Synchronize two directories” This routine compares source and dest directories and copies files’ from source that are newer than (or are missing in) the destination directory’ if TWOWAYSYNC is
‘ Synchronize two directory subtrees” This routine compares source and dest directory trees and copies files’ from source that are newer than (or are missing in) the destination directory’ if
If you search the Web and the various articles in magazines and MSDN you can find a lot of documentation about the fastest way of reading an XML document. Speaking
Private Declare Function GetFileSecurity Lib “advapi32.dll” Alias _ “GetFileSecurityA” (ByVal lpFileName As String, ByVal RequestedInformation _ As Long, pSecurityDescriptor As Byte, ByVal nLength As Long, _ lpnLengthNeeded As Long) As
Private Const MAX_PATH = 260Private Type SHFILEINFO hIcon As Long iIcon As Long dwAttributes As Long szDisplayName As String * MAX_PATH szTypeName As String * 80End TypePrivate Declare Function SHGetFileInfo