Mateu5z Member 1 Feb 7, 2007 #1 Hey, do you know any way to get a list of files contained in a folder? Just like "dir" command in Windows Command Prompt ;] Thanks in advance... @down: thanks! i love you :p
Hey, do you know any way to get a list of files contained in a folder? Just like "dir" command in Windows Command Prompt ;] Thanks in advance... @down: thanks! i love you :p
SephirothSpawn Sponsor 1,433 Feb 7, 2007 #2 Code: files = Dir.entries(directory) That will return an array of all files and folders within the directory. Upvote 0 Downvote
Code: files = Dir.entries(directory) That will return an array of all files and folders within the directory.