Delete all exept jpg

Hi,

i wish button to delete all files in folder exept jpg file...

Thanks

Select DESELECTNOMATCH DESELECT *.jpg
Select DESELECT ALLDIRS
Delete SHIFT

how delete file only in the current directory (when i click button, if folder are selected in the tree, it delete)

Change the delete line to

DELETE SHIFT NOFROMFOCUS

I think.

You could also do:

Delete ~(*.jpg)

If you specify a wildcard on the command line you don't need to have the files selected first.

excelent thanks