Moving files to trash

Sarah Reichelt sarah.reichelt at gmail.com
Thu May 18 01:14:17 EDT 2006


Another cross-platform question:

On Mac OS X, I use this:

    put specialFolderPath("Desktop") into tFolder
    set the itemDel to "/"
    put ".Trash/" into last item of tFolder
    rename file pFile to tFolder & pFile

to move a file to trash instead of using Revolution's sudden-death
"delete file" command.

Could anone please tell me what the paths are to get to the trash on
Windows & Linux?

Thanks,
Sarah



More information about the use-livecode mailing list