I'm trying to make some functions to generate a list of everything in a directory I specify. I need for 1 list, all of the folders and then in the other list I need each file in the folders.
How can I get all of the directories in a directory I specify and then put it in a list (or array, I could put the array into the list) and how can I get the list of all of the files in a directory?
