I need to create a procedure that is a loop for searching files with a
specific extension.
For example, when starting the program, in the main function, it
enters in a loop for searching files with a specific extension. When
finding one, it calls a procedure that read this file and after
collecting its content, the file is deleted.
My problem is, I do not know how to access the directory (actually is
the same where my program is) and search for files with an extension
".inf", for example.