How to get list of directories in Lua
问题 I need a list of directory in LUA Suppose I have a directory path as "C:\Program Files" I need a list of all the folders in that particular path and how to search any particular folder in that list. Example Need a list of all the folder in path "C:\Program Files" Below are folder name in the above path test123 test4567 folder 123 folder 456 folder 456 789 Need to get the above in a list and then have to search for a particular string like folder 456 in folder 456 789 only. Have Tried below