Open all files in a directory

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexandros

    Open all files in a directory

    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.

  • Attila Feher

    #2
    Re: Open all files in a directory

    Alexandros wrote:[color=blue]
    > 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.[/color]



    --
    Attila aka WW


    Comment

    Working...