In Photoshop you could set up an Action to open every image in a folder, use the Auto Tone, Auto Color, Auto Levels-type effects or the Saturation Tool, Save, and close the files out again. However, I don't think there's a way you could set up an action to use the manual Levels tool in any reasonable way.