move file to trash on windows

Klaus Major klaus at major-k.de
Thu Mar 1 10:42:13 EST 2007


Hi Ken,

> On Thu, 1 Mar 2007 15:05:21 +0100, Klaus Major wrote:
>
>> Bonjour mon ami, ca va bien?
>>
>>> Hi Klaus,
>>>
>>> the only possibility you'll find is this:
>>> http://vbnet.mvps.org/index.html?code/shell/recyclebin.htm
>>> (source code for a xcmd provided :)
>>>
>>> There is no vbs or dos way i know of that i could find. But there is
>>> alternative which
>>> is to move files to a tempTrash folder which you can later  
>>> delete... This
>>> removes all
>>> limitations of the recycle bin as it is just another folder...
>>
>> Ah, yes, I saw this (md "C:\Trash" etc...) when seraching the net for
>> a solution.
>> But I'm afraid this will not work for our project.
>
> Would using a custom DLL work for your project? If so, I'm sure  
> someone
> can whip one up...

Sure, but I will have to ask my boss, if he wants to pay for that  
feature ;-)

> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list