foreach file (*.bmp)
	convert $file $file:r.jpg
end
