$StartPath

File system path where one of the Zim executables started.

Return Value

A character string. Cannot be reset by an application program.

Description

It is the operating system directory where the user started the application by invoking one of the Zim executables.

The table below shows how $StartPath is interpreted by the various Zim executables:

Zim Executable

Result

Zim

The path where Zim was started

ZimTC

The path where ZimTC was started

ZTCAgent

The same path detected by ZimTC

ZCommand

The path where ZCommand was started

ZDBAgent

The same value as $WorkPath

Example

C:\MyDir\SubDir> zimtc -n mybase

After invoking ZimTC, in the prompt:

> $startpath
C:\MyDir\SubDir

 

Related Topics

$WorkPath

$DBPath

$ZIMPath

$ImagePath