dirname (fullname)
fullname
Returns the directory portion of the input file specification. fullname is the input file specification.
Copyright © 2001 O'Reilly & Associates. All rights reserved.