Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Listing To Arrays
#7
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.
Reply


Messages In This Thread
File Listing To Arrays - by SMcNeill - 04-20-2022, 02:22 AM
RE: File Listing To Arrays - by mpgcan - 05-14-2022, 04:44 PM
RE: File Listing To Arrays - by SMcNeill - 05-14-2022, 05:15 PM
RE: File Listing To Arrays - by mnrvovrfc - 03-23-2023, 07:39 PM
RE: File Listing To Arrays - by SpriggsySpriggs - 03-23-2023, 08:16 PM
RE: File Listing To Arrays - by SMcNeill - 03-23-2023, 08:18 PM
RE: File Listing To Arrays - by mnrvovrfc - 03-23-2023, 08:58 PM
RE: File Listing To Arrays - by Petr - 03-25-2023, 07:55 PM



Users browsing this thread: 2 Guest(s)