Herman,
What do you mean, "it works on EXE too"? Before posting the original nmessage I inserted wait wind messages everywhere to view what is going on, what file/item is considered, etc: the EXE goes to the line in question, implements it, but the INVOKEVERB does not work for Recycle Bin.
And, again, INVOKEVERB works as expected when EXE is calledg with DO command, but it does not work if EXE is called with shellexec or from the Windows Run dialog.
>
>>Hi Yuri,
>>
>>I think it works on EXE too, but you need to feed an event (READ EVENTS) somewhere, or just put an INKEY() to see whether it works or not.
>>
>>do iDel_ALL_Contents with 10
>>= inkey( 0 )
>>
>>
>>Regards