BBjAppConfig::setWorkingDirectory

Description

In BBj 12.0 and higher, this method sets this application's working directory.

Syntax

Return Value

Method

void

setWorkingDirectory(string dir)

Parameters

Variable

Description

dir

The working directory.

Return Values

None.

Remarks

None.

Example

rem ' BBjAppConfig::setWorkingDirectory

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setWorkingDirectory(dsk("")+dir(""))
print "setWorkingDirectory: ",
print appConfig!.getWorkingDirectory()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getWorkingDirectory

BBjAppServer

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.