SourcePoint Intel Help

Table of Contents

homepath

Return the full path of the directory containing the current SourcePoint .ini file.

Syntax

homepath

Discussion

The homepath control variable contains a string that is the full path to the directory where the SourcePoint .ini file is installed. The string is terminated with a final slash/backslash path delimiter. This variable can be used to avoid hard-coded file paths by referencing them relative to the SourcePoint directory.

Example

Assume SourcePoint .ini file exists at c:\Program Files\Arium\SourcePoint\sp.ini

Command input:

define nstring mymac = homepath + "mac\\big.mac";
mymac

Result:

c:\Program Files\Arium\SourcePoint\mac\big.mac

Related Topics: