@ECHO off REM *** Configuration *** REM The subdirectory name we use to store converted files SET DirName=Converted-For-Forum REM The width that each picture will be set to SET PicWidth=800 REM *** Code *** REM Don't change anything below unless you know what you are doing! ECHO. ECHO Creating Directory... mkdir %DirName% ECHO. ECHO Processing Files... FOR %%X in (*.jpg) DO ( ECHO %%X convert %%X -resample 75x75 -resize %PicWidth% %DirName%/%%X ) ECHO. ECHO Done. ECHO.