GetDirectory method

image\validfor_v.gif

Applies To Objects

SystemSession

Description

Returns a string containing the path of the requested directory.

Syntax

rc = object.GetDirectory (DirectoryType)

Element

Description

rc

The returned directory path.

object

The Session or System object.

DirectoryType

A constant indicating the type of directory wanted.

 

Comments

Use a constant or value to request a directory path.

Constant

Value

XDIRECTORY_CURRENT

1

xDIRECTORY_MACRO

2

xDIRECTORY_BASE

3

xDIRECTORY_WINDOWS

4

xDIRECTORY_SYSTEM

5

xDIRECTORY_HOME

6

xDIRECTORY_COMMON

7