When the application is launched command line arguments will be read. The parsing of these arguments will not be case sensitive. These command line arguments include:
/u: If “/u” is found followed by a space and an entry, the entry will designate the SE user to login. This user must be a regular SE user (not NT authenticated). If no password is further defined, the login prompt will be shown with the user name predefined in the user field.
/w: If “/w” is found followed by a space and an entry, the entry will designate the SE password to login. This password must be for a regular SE user (not NT authenticated). If no user name is further defined, the login prompt will be shown with the password predefined in the password field.
/c: If “/c” is found followed by a space and a quoted (double or single) entry, the entry will designate the SE ODBC connectivity information. This ODBC connectivity will override any previously defined ODBC connectivity. If the provided ODBC connection information is invalid, the ODBC Connectivity dialog will be displayed.
/r: If “/r” is found followed by a space and a quoted (double or single) string or a number (not quoted), the entry will designate the SE Report or Analysis Configuration (formerly known as Monitor) to be run when login is successful.
• If the report or analysis configuration information was invalid, a message will be displayed “Invalid Report specified” or “Invalid Analysis Configuration”
• If the entry was a string, it will designate a SE Report or Analysis Configuration with the complete System View path.
• If the entry was a number, it will designate a SE Report ID or Analysis Configuration ID.
/runmacro: If “/runmacro” is found the entry will designate the SVB macro to be run when login is successful.
• If the SVB information was invalid, a message will be displayed “Invalid SVB specified.”
/close: If “/close” is found on the command line, it will login to SE, perform any of the other command line requested operations, and then shutdown. However, STATISTICA will remain open.
/invis: If “/invis” is found on the command line, it will login to SE, perform any of the other command line requested operations, and then shutdown. However, STATISTICA will remain open.
• All messages regarding invalid command line information will not be displayed.
• All messages regarding invalid command line information will be placed into the STATISTICA events.
/i: If “/i” is found followed by a space and a quoted string, the entry will designate a filter file to be used when running the analysis or report.
•
Information regarding the use of the INI file can be found
here
/nologo: If “/nologo” is found, then the splash screen will not be displayed.
-statopts: STATISTICA will use the specified StatOpts.xml file.
Examples:
"C:\Program Files\StatSoft\STATISTICA\staemapp.exe" /r "STATISTICA Enterprise\Testing\BallBearings" /c "DSN=SEWSS;UID=sa;PWD=111111;" /u "admin" /w "abcdef".
"C:\Program Files\StatSoft\STATISTICA\statist.exe" /u "admin" /w "abcdef" /runmacro=”C:\TestMacro.svb”.
C:\Program Files\StatSoft\STATISTICA\statist.exe" -statopts=”C:\StatOpts.xml”.
You can also specify the STATISTICA Enterprise configuration database in a shortcut as follows:
staemapp.exe /C "DSN=SEWSS;UID=sa;PWD=*****"
or
statist.exe /C "DSN=SEWSS;UID=sa;PWD=*****"