How to loop through a folders contents?

BlitzMax Forums/BlitzMax Beginners Area/How to loop through a folders contents?

flying willy(Posted 2004) [#1]
Hi,

I would like to loop through a folder's contents and retrieve a list of file names. Could you please give me some tips? There doesn't seem to be any example code...


Thanks!


Beaker(Posted 2004) [#2]
Do it the same as you would in BB3D:
http://www.blitzbasic.com/b3ddocs/command.php?name=NextFile&ref=2d_cat


flying willy(Posted 2004) [#3]
Thanks beaks