Directory part of path (everything up to the last '/' or '\'); '.' when path has no directory component. The trailing separator is dropped.
path