Why not use something like this (here, for MacOS X) : put specialFolderPath("Desktop") into trashFolder set the itemDel to "/" put ".Trash/" into last item of trashFolder rename folder tfolderpath to trashFolder&"/"&tfolderpath