List MP3 files from where? The local system, the user’s home folder? You want to do this at logon? That might slow things down considerably. Running it as an admin script would be better imho.

You could use the DirPlus UDF to list all files, check the extension of each file and delete is if it is .mp3.

UDF Library » DirPlus() - a recursive dir tool
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.