I wrote a batch file that uses ImageMagick to make thumbnail images.
This seems to only work when the image filename does not have any spaces in it. If it has spaces, it'll input up to the space. Anyone know how to get it to take the full filename, including spaces? Thanks.
@echo off
IF NOT EXIST thumbnails mkdir thumbnails
for /F %%i in ('dir /b /A-D *.jpg') do IF NOT EXIST thumbnails\%%i (
echo Creating thumbnail for %%i...
convert +profile "*" -quality 75 %%i -resize 95x71 thumbnails\%%i
echo Done.)
This seems to only work when the image filename does not have any spaces in it. If it has spaces, it'll input up to the space. Anyone know how to get it to take the full filename, including spaces? Thanks.