Download and install ImageMagick

1
2
3
4
5
cd path\to\images
mkdir thumbs
mkdir resized
mogrify -path thumbs -thumbnail 100x100 *.JPG 
mogrify -path resized -resize 1024x768 *.JPG

Done!