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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
I solved my problem ( I used linux commands via the Sys Process library)