Hello, How can I read files form a directory? I basically just want to print out a list of filenames in a particular directory.
Thanks, - Jeff Miller
Hello, How can I read files form a directory? I basically just want to print out a list of filenames in a particular directory.
Thanks, - Jeff Miller
Use the built-in Dir class.
Check out the 'entries' method.
That should get you started.