ADSJob class

StartupDirectory property

   

The StartupDirectory property specifies the directory in which the application will be started.

Data Type

BSTR

Syntax

 

C++

job->get_StartupDirectory(BSTR *value)
job
->
put_StartupDirectory(BSTR value)

VB

job.StartupDirectory

Remarks

Some applications do not function correctly if the startup directory (working folder) is not set properly. The StartupDirectory should be set to the same value as the Start In property of the shortcut used to run the program manually.