How to get each Folder name from provided path

I want to read the Folder name one by one from specific path, can anyone please advice.

Below is the sample of my folder and I want to read that all folder name one by one.

image

Use GetDirectories to get all directories in a given folder.

You can then iterate over these and work with the data in each individually.

1 Like