How to add a "delete" custom action in the listary actions


#1

Hi all,

Just wondering how can i add a Delete Function in the action of listary(see the picture) , and how to config the path and other parameters?

If someone know how pls reply to me
Cheers


#2

Recycle an item

To move the selected item in search result box to the recycle bin (with prompt):

Hot key:     Alt + D
Name:        Move to Recycle Bin
Path:        Path\To\recycle.js
Parameter:   "{action_path}"

Get the script recycle.js here.

Delete an item

To delete the item without moving to recycle bin:

Hot key:     Alt + D
Name:        Delete
Path:        %ComSpec%
Parameter:   /c del "{action_path}"

#3

Thanks for reply´╝îthat works
Thank you