dirname

dirname (

fullname

)

Returns the directory portion of the input file specification. fullname is the input file specification.