Pan 6 batch import question

Is there a way to batch import a number of text files from a single folder into Pan? Goal is to take 6-8 individual text files and turn them into a single PAN database.

Panorama is able to list the contents (see documentation for the fileinfo( function) of a chosen folder (read about openfiledialog) as an array. Then you would loop through the elements of that array and use the file names to set the value of a variable, which you would use as argument for the openfile (or opentextfile) statement. When you use the prefix “+” with the file name, the file will be appended to existing data in your database.