CWD

Working directory

WSupported on Windows

 

 

NSupported in Synergy .NET

The CWD initialization setting sets the working directory for your application.

The directory path, including device specification, that will become the current working drive and directory.

CWD must be set in the synergy.ini file only; setting CWD in the environment has no effect. This initialization setting causes the runtime to set its current working directory to the specified path. If CWD is set in the [myprog] section of synergy.ini (where myprog is any .dbr file), it takes effect only after the .dbr program file is located. For this reason, you cannot use CWD to switch the execution directory of the application’s main executable.

The [synergy], [dbr], [dbl], [dblink], [dblibr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

Compiler, runtime, linker, librarian, isutl, fcompare

In the synergy.ini file,

[synergy]
CWD=c:\synergy\dbl\apps