Moving a File to the Trash

Eric Chatonet eric.chatonet at sosmartsoftware.com
Tue Oct 23 12:17:12 EDT 2007


Hi,

On Mac OS X you can use rename <file path> to specialFolder("empt") &  
slash & <file short name>
On Win, I have no solution on hand because if CSIDL_BITBUCKET should  
rely on a file system directory that contains file objects in the  
user's Recycle Bin, the location of this directory is not in the  
registry; it is marked with the hidden and system attributes to  
prevent the user from moving or deleting it. Then this key returns  
empty when using specialFolderPath.
May be somebody knows a workaround?

Le 23 oct. 07 à 16:40, Jim Ault a écrit :

> delete file
> delete folder
> RevdeleteFolder
>
> will get you started.
>
> Jim Ault
> Las Vegas
>
>
> On 10/23/07 5:45 AM, "Dave" <dave at looktowindward.com> wrote:
>
>> Hi All,
>>
>> Is there an easy way to move a file to the trash??????


Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list