02-26-2023, 12:38 PM
I need to open each of the files present in a given folder/directory and process them one by one.
A crude way would be to use DIR to create a text file containing all of the file names, then read that to obtain each of the filenames, line by line.
However, I'm wondering if QB64 has a function to Get Next Filename into a string that can be called in a loop until there are no more files in the directory?
A crude way would be to use DIR to create a text file containing all of the file names, then read that to obtain each of the filenames, line by line.
However, I'm wondering if QB64 has a function to Get Next Filename into a string that can be called in a loop until there are no more files in the directory?