The Dirname_Shell_Utils procedure strips off the filename and returns only the directory name from a given pathname.
|Character = Dirname(Filename)|
|Filename||The Filename to be modified.|
|Dirname||The directory part of the input Filename. Note that '.' is returned if there is no directory part.|
|dirname_right||Rightmost character of directory name.|
The Dirname_Shell_Utils code listing contains additional documentation.
Michael L. Hall