Get All Folder Names In A Computer
Category:Files and Directories
Version Compatibility: Visual Basic 6, Visual Basic 5
The following sub procedure retrieves all the folder names in a computer using the WMI. It writes to the immediate window, and can be extended to write to a file or UI.
Instructions: Copy the declarations and code below and paste directly into your VB project.