Paul's Batch it MAX can find out all max file in the folder you assign.
then you can select what max file you want to execute with what maxscript file.
So~ if you use Batch it MAX. There only need one command line
deleteItem meditMaterials.custAttributes 1
The tool will take care open file, save file...etc.
really handy.