Get filenames from DIR and assign var

sheriffporter

Member
Licensed User
Longtime User
Hi,
I am trying to get the language right to read a directory and obtain all the file names. I need the code to grab each filename, then work with each one until they are all moved to another location, sort of a sync I guess, but not leaving any of them behind. I've done this with VB6 before, but i'm not sure where to start with b4a. I do not need to store any of the filenames, or get any data out of them, just grab and move them one at a time untill they are gone. Any ideas would be appreciated!

It needs to be done totally with code inside my app, I can't browse and do them manually. I did find some examples on how to put the file names in a listbox, but as I said I need to do it all by code in the background.
 
Top