How to loop through files in a folder

GaryDGaryD Member Posts: 66
I'm trying to use the Microsoft Scripting Runtime to loop through the files in a folder. I've got the filesystemobject, files collection, and file object all defined and working I believe. The problem is that I haven't figured out the syntax to do the looping through the files. Is there a way to do this in NAV:
For each oFile in oFiles
.
.
Next

Thanks!

Answers

Sign In or Register to comment.