I'm a new user with very little command line and batch script experience, so please excuse my ignorance... but I'm really trying to learn from the IM usage guides. In the Windows usage guide (http://www.imagemagick.org/Usage/windows/), the following example is given for Batch Processing Several Files:
Code: Select all
%~d1
CD "%~p1"
MD small
FOR %%a in (*.jpg) DO convert %%a -resize 50%% small\%%a
PAUSE

What do i have to do to get the script to actually process the files?
Another question:
I presume the script in question converts all .jpg files in the directory. What would I have to change in the script so that it only processes the files that are actually dragged&dropped to it?
Thank you for your help!
P.S.: I'm using IM 6.8.9.8 Q16 x64 on Windows 8 (64 bit)