Forum Discussion

DevPerera's avatar
DevPerera
Occasional Contributor
9 years ago
Solved

How to get sub folder names one by one which are inside a given folder?

Hi All,   I just want to get all the sub folder names which is inside a give folder, dont know how to do it?     .................. Thanks Dev
  • HKosova's avatar
    9 years ago

    Hi Dev,

     

    You can use aqFileSystem.GetFolderInfo(path).SubFolders to access a folder's subfolders. Check the example in the Subfolders Property help topic - it does exactly what you need.