$InitialDirectory

$InitialDirectory
returns the directory from which Mathics was started.