Applicable Versions: 3.02.0035 onwards
From version 3.02.0035 onwards you can use a command line switch to set the data location that DataPA should use for that session. This is done by using the /d and /x switches. You must enclose the data location you want to use in double quotes.
So for example using the DataPA Reports executable the following command will set the data location of the session to C:\Documents and Settings\All Users\Application Data\DataPA\
|PADesigner.exe /d "C:\Documents and Settings\All Users\Application Data\DataPA\"|
To use DataPA configuration files that are stored in XML format then in addition to the /d switch you would need to use the /x switch. So for example:
|PADesigner.exe /d "C:\Documents and Settings\All Users\Application Data\DataPA\" /x|
The switches are available for the DataPA Reports executable (PADesigner.exe), DataPA Dashboard executable (PADashboard.exe) and the DataPA file type manager execeutable (PAFileTypeManager.exe)
You can obtain information on all the switches available by use the /? switch which will display the following message: