How to list name of subfolders of a folder
We will use FileSystemObject as class name to deal with folders.
Set a = CreateObject(“Scripting.FileSystemObject”)
Set b = a.GetFolder(“D:QTP_TEST”)
Set c = b.SubFolders
For Each d in c
Content posted is based on learning or working experience, please leave comments if anything needs to be added or updated, discuss your queries on our facebook:qavalidation.com, Thanks!