you need to store all the photos u want to edit in a designated folder first, that will be ya 'source' folder. Then u go to File>>Automate>>Batch and select that folder as the source folder.
Try reading Photoshop Help By pressing F1 in photoshop, it explains pretty well.