Not quite an answer to what was asked, but to do all images in a folder at once from the command line.
for f in *.jpg; do convert $f -resize 700 $f; done
This assumes all your images are .jpg and will resize them to 700 pixels wide.
This will overwrite the original file (which is what the question implied was required) but if you want to keep the original, you have a couple of options.
for f in *.jpg; do convert $f -resize 700 ../resized/$f; done
This puts the resized photos into a directory called resized. (You need to create this first)
Or you could change the filename
for f in *.jpg; do convert $f -resize 700 $(basename $f .jpg)-resized.jpg ; done
This adds -resized to the filename of each, e.g. file0001.jpg will be resized and named file0001-resized.jpg