Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.
Sub DeleteOldestFile() 'maintains the number of log files to a max of 10. Deletes the oldest file. Dim strFilePath As String strFilePath = GetDBPath With Application.FileSearch .NewSearch .LookIn = strFilePath .Filename = "*.log" .Execute If .FoundFiles.Count >= MAX_LOG_COUNT Then Kill .FoundFiles(1) End If End With End Sub
Join the community of 500,000 technology professionals and ask your questions.