ADSJob class
The StartupDirectory property specifies the directory in which the application will be started.
BSTR
C++ |
job->get_StartupDirectory(BSTR
*value) |
VB |
job.StartupDirectory |
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.