Name
GetStartDirectory -- return initial directory (V9.0)
Synopsis
dir$ = GetStartDirectory()
Function
This function returns the directory that was the current directory when the Hollywood script was started. This is only of use when running Hollywood scripts because in that case Hollywood will always change the current directory to the script's directory (unless you use the -nochdir console argument) so it's not easily possible to find out the directory that was current before Hollywood changed it to the script's directory.

For compiled programs, the start directory will obviously always be identical to the program directory that you can get using GetProgramDirectory(). See GetProgramDirectory for details.

Inputs
none

Results
dir$
path to the initial directory

Show TOC