Get directory names as an array

Hi,
I have run a for each loop to get folder names. What I want now is for these folder names to be stored as an array in order that I can use them as options for input dialog box. Please let me know what should be done.
Thank you.

Hi,

Check below

Hope this helps

Thanks

@Yashasri_Jakkula,

The below query will get you the list of directory into a string array.

Directory.GetDirectories("yourDirectoryPath")

Thanks for sharing. I got all the help I need

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.