Question 111:

How can I move the temporary directory to a different storage location?

Answer

For its operation BL Banking needs a temporary directory, which by default is located in the program directory under workspace/tmp. The user must have write permissions on this directory. In certain cases it might be necessary to move the temporary directory to a different storage location.

For this purpose please add an instruction in the configuration file BL Banking.ini. See FAQ 154 if you don't find the file in the program directory of BL Banking.

In the instruction you can use either a relative or an absolute path, e.g.

-Dde.businesslogics.tmpdir=V:\blbanking\workspace\tmp

Instead of workspace/tmp please specify the new path to the moved temporary directory here. Thereby you can use either a relative or an absolute path.

Here it is not possible to use operation system variables, e.g. %Appdata%. However you can also pass the path as a parameter in the shortcut to the program, and then use operation system variables, e.g.

"C:\Program Files\blbanking\BL Banking.exe" -vmargs -Dde.businesslogics.tmpdir=%Appdata%\blbanking\workspace\tmp

Furthermore it is also possible to set the environment variable TMP of the operating system. Then you can also use operating system variables. However then the side effect occurs that also other programs, which use this environment variable, are affected.

See also FAQ 34.