Returns the program's current working directory. Right after program start it is usually equal to the globally SHARED variable appHomePath$, but it may change during runtime after using CHDIR calls. The behavior is in that equal to the new _CWD$ function available since QB64 v1.0, but I recommend using CurrDIR$() instead, if you want your program to be usable with the older QB64 versions too.
SYNTAX:
workdir$ = CurrDIR$
RESULT:
workdir$ (STRING)
- The full qualified path/name (ie. starting with the drive letter) of the current working directory without a trailing backslash.