devxlogo

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

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

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist