I have to write a script in Testpartner which attempts to load many files into the database. Currently the program will allow you to load only one file at a time.
I need to repeat the process for all the files.

Currently I am able to write a script to load ( basically process ) a single file. The tools used is similar to a browse utility, where you selecte a file to open it.

Now I need to do this for other files.
Is there a way I can get the names of all the files in a particular folder. Do I have to create a list of all the files in the folder. then attempt to load a file. If successful, delete the file from the list and try attempting the next file, etc.

How do I get TP to do this.