Open all files in a directory

A

Alexandros

Hello there. Does anyone know how can all files in a directory can be
opened without needing to know there names? I mean, I have the name of a
directory and I want to handle all its files regardless how many are
there or how they are named. I had had an idea, but it's kind of shoddy:
store in a file the output of dir/ls and read from it. I'd like to hear
a better solution. Thank you very much.

w.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top