detect file name in usb drive

mozed
2023-08-14
2023-08-16
  • mozed - 2023-08-14

    Hello!
    Can we detect the name of a file contained in a USB key without knowing it in advance?

    I want to be able to plug in a USB stick and know right away the names of the different files that are there.

    Is it possible?

    Cordially

     
  • dkugler - 2023-08-14

    have a look at Lib CAA File. There are many FB's to handel directories/files.
    In your case use DirOpen to get the handle to the root of the USB stick and DirList to read the entries.
    Good luck.

     
  • mozed - 2023-08-16

    I solved my problem ( I used linux commands via the Sys Process library)

     

Log in to post a comment.