GetAllExecutableFiles – The list of all executable files in a directory tree

' Returns a collection with the names of all the executable' files in a directory or a directory tree' this includes all "exe", "bat", "com", "pif" files'' NOTE: Uses the GetFiles, GetDirectories, and GetAllFiles routinesFunction GetAllExecutableFiles(ByVal path As String, _    Optional RecurseDirs As Boolean) As Collection    Set GetAllExecutableFiles = GetAllFiles(path, "*.exe;*.com;*.bat;*.pif", _        RecurseDirs)End Function

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: