## AP2 - Automated Audio Device Driver Test Tool

[prev][next][parent][TOC]

### The DataPath button

The DataPath button allows the selection of a directory where data files necessary for the execution of scripts are located. When the DataPath button is pressed, a standard directory dialog box is presented. Any directory on any drive can be specified. Data files consist of *.WAV, *. MID, *.AVI,*.MPG, and so on.

All the data files must exist in the same directory. If data files span more than one directory, it is not possible to test all the scripts at once using the DataPath.

Note for Script writers: When AP2 executes P2String, it passes it an environment variable AP2PATH which the script writer will use when specifying a data file. If the file TEST.WAV is to be used, it would appear as follows: ?AP2PATH?TEST.WAV with no spaces between the question mark and the filename.