One setting, applied to every file
You choose a single quality level and, if you want, a maximum width and height. Every image in the batch gets the same treatment.
That is the whole point of a batch tool and also its limitation. It suits a folder of photos from one camera or one shoot, where the pictures are broadly similar. It suits a mixed folder far less: a quality that flatters a photograph will be heavy-handed on a screenshot, and a cap that suits a landscape may barely touch a portrait. If your folder is mixed, splitting it into two runs usually gives a better result than compromising on one setting.