How to make thumbnails for images?

In example below thumbnails will have the same names as original images.

Example*:

ICPCL.exe –convertto jpg –source "C:\Images\*.*" –dest "C:\Thumbnails" -oper Resize size:150 150 keep_prop:no method: bilinear quality:65

* This example works the same way with other support formats.