Adobe photo products (eg, PE) has this capability built in as "Batch Processing" under the File Menu. I use it often but as I recall, there are a few issues to consider. To process the photos to a common size via batch, after doing any required rotation, factor out the landscapes from the portraits and then perform the processing before you edit any photos via cropping. Always remember to reduce photos by an integer factor (2X, 1/2X, etc.).