Making A Copy Of A Folder

I have one more question Michel. I used a modified version of your code (see below.) It works great, but once the folder is created it will not overwrite the old folder with an updated copy. So if you update the source folders, and then try to copy it to the destination folders it won’t overwrite the existing folder.

[code] dim source as folderitem = getfolderitem("").child(“Runs”)
if source <> nil and source.Exists then
//dim destination as FolderItem = SpecialFolder.Documents

dim destination as FolderItem 


Destination=(getfolderitem("").child("Backup"))


source.CopyFileTo(destination)

end if[/code]

Is there any easy way just to delete the destination folder in code without having to manually drag it to the trash?

Jim