03-23-2023, 08:58 PM
Works well but only if the target directory has subdirectories. Otherwise it comes up only with single-dot and double-dot entries and no files.
In other words, the example program listed in this thread, but with the new QB64 functions involved, works because "qb64pe", or in my case "qbpe" has subdirectories. _CWD$ is set to that directory even if I launch the program from a different directory.
But when I attempt to use the "GetFilesList" subprogram to target another directory, which doesn't have children directories, it comes up empty.
In other words, the example program listed in this thread, but with the new QB64 functions involved, works because "qb64pe", or in my case "qbpe" has subdirectories. _CWD$ is set to that directory even if I launch the program from a different directory.
But when I attempt to use the "GetFilesList" subprogram to target another directory, which doesn't have children directories, it comes up empty.