- Open DIAdem software and select SCRIPT.
- Go to File the tab and select New VBS.
- Write the scripts as shown in the picture below, and make sure the folder path and the file type are correct.

The script used in the above figure is as follows:
Option Explicit
dim result : result = DirListGet("C:\Users\AE\Desktop\Naim\CSVExample", "*.csv", "filename", "FullFilenamesRecursive")
dim fl : for each fl in result
DataFileImport fl
Next
- Then, press Run Script to execute the script.