Command line parameters

Along with the commands for batch mode (see Batch Mode for Passolo) further arguments can be used when starting up SDL Passolo. These arguments are available for starting Passolo in batch mode or in normal, interactive mode.

/language

Specifies the language of the Passolo user interface. If no language parameter is provided, the current language setting is used.

Syntax
/language=<Language ID>
Parameters
<Language ID> The language ID to be used
Example
specifies German as the interface language:

psl.exe /language=deu

/profilefolder

Normally Passolo stores internal, persistent data in the registry and in the user's application data directory, which is managed by Windows. You can use this parameter to specify a folder in which all data and settings are to be stored by Passolo. This allows you to manage different work profiles independent of each other.

This folder can also be defined in the Passolo configuration file (psl.exe.config). If the parameter /profilefolder is set also, this value is used.

Syntax
/profilefolder=<Folder>
Parameters
<Folder> A folder in the computer's file system. If the folder does not exist, it is created automatically.
Example
psl.exe /profilefolder="c:\Passolo-Files"

/runmacro

Specifies a macro to be executed when Passolo starts up. By specifying multiple /runmacro parameters it is possible to run several macros in sequence at startup.

Syntax
/runmacro=<Macro File>
Parameters
<Macro File> The name of the macro file to be executed. This macro must be stored in Passolo macro folder. (See System Folders)
Example
psl.exe /runmacro=MyMacro.bas

/user

Specifies the user name which is otherwise determined interactively at startup. (See User Management)

This name can also be defined in the Passolo configuration file (psl.exe.config). If the parameter /user is set also, this value is used.

Syntax
/user=<Name>
Parameters
<Name> The user name.
Example
psl.exe /user=John

The Passolo Configuration File

The file psl.exe.config is a XML file, that contains some application parameters for Windows. Some Passolo parameters can also be set here, instead of using the command line. So it's possible to set the parameters when Passolo is started via automation.

Create a nodeappSettings in the configuration file and add the parameter as add element:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="ProfileFolder" value="c:\Passolo-Daten"/>
  </appSettings>
  ...
</configuration>

These parameters are defined:

keyDescription
ProfileFolderReplaces the command line parameter /profilefolder
UserReplaces the command line parameter /user