pathFromPathAndFile

April 23, 2008 in Mac OS X, Vista, Windows XP by chip

function pathFromPathAndFile tPathAndFile
    set the itemdel to "/"
    delete the last item of tPathAndFile
    return tPathAndFile
end pathFromPathAndFile