Forum Discussion

Aidy's avatar
Aidy
Occasional Contributor
14 years ago

Opening Every File in a Folder

Is there a way of writing a loop that would make an application open every single file in a folder one by one? So that I can just periodically drop new files in etc.. without having to update anything.



Cheers in advance.

3 Replies

  • Aidy's avatar
    Aidy
    Occasional Contributor
    Thanks for that. How do I get the results from that function passed into the application on each iteration?

  • Hi,





    Replace the 'Log.Message(f.Name)' line with any other code which will use the current file name (f.Name) in the way you need.