Sign in to follow this  
Followers 0
Aassdd

Retrieve subfolder names from a folder and put them in one string?

3 posts in this topic

#1 ·  Posted (edited)

How can I get the names of subfolders of a folder and put them in 1 string?

Note: I want only 1 level of the folder not more.

Example:

(retrieve names from folder "C:/stuff")

Folders tree:

C:/stuff/

C:/stuff/folder1/

C:/stuff/folder1/many_other_folders_and_subfolders/

C:/stuff/folder2/

C:/stuff/folder2/again_other_folders/

C:/stuff/folder3/

C:/stuff/folder3/more_folders/

Returned string: "folder1, folder2, folder3"

Edited by Aassdd

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Thanks :)

Err, not exactly, I want to have all returned array[0,1,2,3,...] in one string.

Solved with _ArraytoString

Edited by Aassdd

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0