move file to trash on windows
Ken Ray
kray at sonsothunder.com
Thu Mar 1 10:15:50 EST 2007
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...
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list