PDA

View Full Version : How to create a custom command to delete all files in a dir but except for *.compiled


chjlcn
06-11-2010, 07:12 PM
How to create a custom command to delete all files in a folder,but except for *.compiled files.

example, Folder Bin has files like *.dll,*.mdb,*.compiled,I need to delete *.dll,*.mdb,but except for *.compiled.

how to do it?thank you!

bigstar
06-11-2010, 10:03 PM
you wouldnt be able to use a custom command to do this but you could do main menu > directory > mask select, enter "*.compiled" and then do main menu > directory > invert selection.

chjlcn
06-12-2010, 02:05 AM
I know the method you said,but the operation is very frequency,repeating it is not convinent and take a lot of trouble.